class Seahorse::Client::Http::Request
def initialize(options = {})
(**options)
-
:body
(Body
) -- -
:headers
(Headers
) -- -
:http_method
(String
) -- -
:endpoint
(URI::HTTP, URI::HTTPS
) --
def initialize(options = {}) self.endpoint = options[:endpoint] if options[:endpoint] self.http_method = options[:http_method] || 'GET' self.headers = Headers.new(options[:headers] || {}) self.body = options[:body] end