Class: Aws::Signers::Base Private
- Inherits:
-
Object
- Object
- Aws::Signers::Base
- Defined in:
- lib/aws-sdk-core/signers/base.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .sign(context) ⇒ Object private
Instance Method Summary collapse
-
#initialize(credentials) ⇒ Base
constructor
private
A new instance of Base.
Constructor Details
#initialize(credentials) ⇒ Base
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.
Returns a new instance of Base.
8 9 10 |
# File 'lib/aws-sdk-core/signers/base.rb', line 8 def initialize(credentials) @credentials = credentials.credentials end |
Class Method Details
.sign(context) ⇒ 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.
24 25 26 |
# File 'lib/aws-sdk-core/signers/base.rb', line 24 def sign(context) new(context.config.credentials).sign(context.http_request) end |