Class: Wrest::Http::Options

Inherits:
Request
  • Object
show all
Defined in:
lib/wrest/http/options.rb

Instance Attribute Summary

Attributes inherited from Request

#body, #headers, #http_request, #password, #uri, #username

Instance Method Summary collapse

Methods inherited from Request

#invoke

Constructor Details

#initialize(wrest_uri, options = {}) ⇒ Options

Returns a new instance of Options.



12
13
14
15
16
17
18
19
20
21
# File 'lib/wrest/http/options.rb', line 12

def initialize(wrest_uri, options = {})
  super(
        wrest_uri, 
        Net::HTTP::Options, 
        {},
        nil,
        {},
        options
      )
end