Class: Aws::Plugins::StubResponses::Handler

Inherits:
Seahorse::Client::Handler show all
Defined in:
aws-sdk-core/lib/aws-sdk-core/plugins/stub_responses.rb

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#call(context) ⇒ Object


40
41
42
43
44
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/stub_responses.rb', line 40

def call(context)
  response = Seahorse::Client::Response.new(context: context)
  apply_stub(response, context.client.next_stub(context.operation_name))
  response
end