class Seahorse::Client::RequestContext
def [](key)
-
(Object)
-
Parameters:
-
key
(Symbol
) --
def [](key) @metadata[key] end
def []=(key, value)
-
value
(Object
) -- -
key
(Symbol
) --
def []=(key, value) @metadata[key] = value end
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