Class: Seahorse::Client::Handler
- Inherits:
-
Object
- Object
- Seahorse::Client::Handler
show all
- Defined in:
- gems/aws-sdk-core/lib/seahorse/client/handler.rb
Direct Known Subclasses
Aws::DynamoDB::Plugins::CRC32Validation::Handler, Aws::DynamoDB::Plugins::SimpleAttributes::Handler, Aws::DynamoDBStreams::Plugins::SimpleAttributes::Handler, Aws::ErrorHandler, Aws::FinSpaceData::Plugins::ContentType::Handler, Aws::Finspace::Plugins::ContentType::Handler, Aws::Glacier::Plugins::AccountId::Handler, Aws::S3::Plugins::GetBucketLocationFix::Handler, Aws::S3::Plugins::LocationConstraint::Handler, Aws::S3::Plugins::SkipWholeMultipartGetChecksums::Handler, Aws::S3::Plugins::SseCpk::Handler, Aws::S3::Plugins::UrlEncodedKeys::Handler, Plugins::Endpoint::Handler
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(handler = nil) ⇒ Handler
Returns a new instance of Handler.
10
11
12
|
# File 'gems/aws-sdk-core/lib/seahorse/client/handler.rb', line 10
def initialize(handler = nil)
@handler = handler
end
|
Instance Attribute Details
15
16
17
|
# File 'gems/aws-sdk-core/lib/seahorse/client/handler.rb', line 15
def handler
@handler
end
|
Instance Method Details
#call(context) ⇒ Seahorse::Response
19
20
21
|
# File 'gems/aws-sdk-core/lib/seahorse/client/handler.rb', line 19
def call(context)
@handler.call(context)
end
|
#inspect ⇒ Object
23
24
25
|
# File 'gems/aws-sdk-core/lib/seahorse/client/handler.rb', line 23
def inspect
"#<#{self.class.name||'UnnamedHandler'} @handler=#{@handler.inspect}>"
end
|