Class: Aws::Signers::Handler Private
- Inherits:
-
Object
- Object
- Aws::Signers::Handler
- Defined in:
- lib/aws-sdk-core/signers/handler.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.
Instance Attribute Summary collapse
- #handler ⇒ Object private
Instance Method Summary collapse
- #call(context) ⇒ Object private
-
#initialize(signer) ⇒ Handler
constructor
private
A new instance of Handler.
Constructor Details
#initialize(signer) ⇒ Handler
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 Handler.
5 6 7 |
# File 'lib/aws-sdk-core/signers/handler.rb', line 5 def initialize(signer) @signer = signer end |
Instance Attribute Details
#handler ⇒ 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.
9 10 11 |
# File 'lib/aws-sdk-core/signers/handler.rb', line 9 def handler @handler end |
Instance Method Details
#call(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.
11 12 13 14 |
# File 'lib/aws-sdk-core/signers/handler.rb', line 11 def call(context) @signer.sign(context) @handler.call(context) end |