Class: Aws::Signers::Handler Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#handlerObject

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