Skip to content

Conversation

@stympy
Copy link

@stympy stympy commented Feb 3, 2017

No description provided.

def after_configuration
options.access_key_id ||= ENV['AWS_ACCESS_KEY_ID']
options.secret_access_key ||= ENV['AWS_SECRET_ACCESS_KEY']
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed if we already set the defaults as arguments to option above?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found that the defaults above didn't actually work. :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really? 😮 Could you add a test for that please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants