AWS services or capabilities described in AWS Documentation may vary by region/location. Click
Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Class: Seahorse::Client::Handler
- Inherits:
-
Object
- Object
- Seahorse::Client::Handler
show all
- Defined in:
- gems/aws-sdk-core/lib/seahorse/client/handler.rb
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) ⇒ 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
|