Method: Aws::RefreshingCredentials#initialize
- Defined in:
- lib/aws-sdk-core/refreshing_credentials.rb
#initialize(options = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 26 27 28 29 |
# File 'lib/aws-sdk-core/refreshing_credentials.rb', line 23 def initialize( = {}) @mutex = Mutex.new @before_refresh = .delete(:before_refresh) if Hash === @before_refresh.call(self) if @before_refresh refresh end |