Class: Seahorse::Client::Handler
- Inherits:
-
Object
- Object
- Seahorse::Client::Handler
show all
- Defined in:
- lib/seahorse/client/handler.rb
Direct Known Subclasses
Aws::Binary::DecodeHandler, Aws::Json::Handler, Aws::Plugins::APIGAuthorizerToken::AuthTokenHandler, Aws::Plugins::APIGUserAgent::Handler, Aws::Plugins::ApiKey::ApiKeyHandler, Aws::Plugins::ApiKey::OptionHandler, Aws::Plugins::ClientMetricsPlugin::Handler, Aws::Plugins::ClientMetricsSendPlugin::AttemptHandler, Aws::Plugins::ClientMetricsSendPlugin::LatencyHandler, Aws::Plugins::EndpointDiscovery::Handler, Aws::Plugins::EndpointPattern::Handler, Aws::Plugins::HelpfulSocketErrors::Handler, Aws::Plugins::IdempotencyToken::Handler, Aws::Plugins::JsonvalueConverter::Handler, Aws::Plugins::Logging::Handler, Aws::Plugins::ParamConverter::Handler, Aws::Plugins::ParamValidator::Handler, Aws::Plugins::ResponsePaging::Handler, Aws::Plugins::RetryErrors::Handler, Aws::Plugins::SignatureV2::Handler, Aws::Plugins::SignatureV4::Handler, Aws::Plugins::StubResponses::Handler, Aws::Plugins::UserAgent::Handler, Aws::Query::Handler, Aws::Rest::Handler, Aws::Xml::ErrorHandler, Logging::Handler, NetHttp::Handler, Plugins::ContentLength::Handler, Plugins::Endpoint::Handler, Plugins::RaiseResponseErrors::Handler, Plugins::ResponseTarget::Handler
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(handler = nil) ⇒ Handler
Returns a new instance of Handler.
8
9
10
|
# File 'lib/seahorse/client/handler.rb', line 8
def initialize(handler = nil)
@handler = handler
end
|
Instance Attribute Details
13
14
15
|
# File 'lib/seahorse/client/handler.rb', line 13
def handler
@handler
end
|
Instance Method Details
#call(context) ⇒ Response
17
18
19
|
# File 'lib/seahorse/client/handler.rb', line 17
def call(context)
@handler.call(context)
end
|
#inspect ⇒ Object
21
22
23
|
# File 'lib/seahorse/client/handler.rb', line 21
def inspect
"#<#{self.class.name||'UnnamedHandler'} @handler=#{@handler.inspect}>"
end
|