Method: Aws::RefreshingCredentials#refresh!
- Defined in:
- lib/aws-sdk-core/refreshing_credentials.rb
#refresh! ⇒ void
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.
This method returns an undefined value.
Refresh credentials.
39 40 41 42 43 44 45 |
# File 'lib/aws-sdk-core/refreshing_credentials.rb', line 39 def refresh! @mutex.synchronize do @before_refresh.call(self) if @before_refresh refresh end end |