Class: Aws::Plugins::SWFReadTimeouts::Handler

Inherits:
Seahorse::Client::Handler show all
Defined in:
aws-sdk-core/lib/aws-sdk-core/plugins/swf_read_timeouts.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


8
9
10
11
12
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/swf_read_timeouts.rb', line 8

def call(context)
  context.config = context.config.dup
  context.config.http_read_timeout = 90
  @handler.call(context)
end