aws_account_utils icon indicating copy to clipboard operation
aws_account_utils copied to clipboard

set_challenge_questions keyword argument reported as optional, but is actually required

Open billwanjohi opened this issue 10 years ago • 0 comments

The docs says we can randomize the input to the challenge questions by just omitting the "answers" hash.

answers: (optional, Hash) - A hash of answers to fill in for the security questions. If you dont pass your own, Random word will generate for you.

Unfortunately, that is precluded here, because the method specifies a required keyword argument.

def set_challenge_questions(account_email:, account_password:, answers:)

so I get:

missing keyword: answers (ArgumentError)

billwanjohi avatar Dec 08 '15 04:12 billwanjohi