class Seahorse::Client::RequestContext
def initialize(options = {})
(**options)
-
:http_response
(Http::Response
) -- -
:http_request
(Http::Request
) -- -
:config
(Configuration
) -- -
:params
(Hash
) -- -
:authorizer
(Model::Authorizer
) -- -
:operation
(required, Model::Operation
) -- -
:operation_name
(required, Symbol
) --
def initialize(options = {}) @operation_name = options[:operation_name] @operation = options[:operation] @authorizer = options[:authorizer] @client = options[:client] @params = options[:params] || {} @config = options[:config] @http_request = options[:http_request] || Http::Request.new @http_response = options[:http_response] || Http::Response.new @retries = 0 @metadata = {} end