Method: Seahorse::Client::RequestContext#initialize
- Defined in:
- lib/seahorse/client/request_context.rb
#initialize(options = {}) ⇒ RequestContext
Returns a new instance of RequestContext.
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/seahorse/client/request_context.rb', line 20 def initialize( = {}) @operation_name = [:operation_name] @operation = [:operation] = [:authorizer] @client = [:client] @params = [:params] || {} @config = [:config] @http_request = [:http_request] || Http::Request.new @http_response = [:http_response] || Http::Response.new @retries = 0 @tracer = [:tracer] || Aws::Telemetry::NoOpTracer.new = {} end |