Class: Wrest::Http::Get
Instance Attribute Summary
Attributes inherited from Request
#body, #headers, #http_request, #password, #uri, #username
Instance Method Summary collapse
-
#initialize(wrest_uri, parameters = {}, headers = {}, options = {}) ⇒ Get
constructor
A new instance of Get.
Methods inherited from Request
Constructor Details
#initialize(wrest_uri, parameters = {}, headers = {}, options = {}) ⇒ Get
Returns a new instance of Get.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/wrest/http/get.rb', line 12 def initialize(wrest_uri, parameters = {}, headers = {}, = {}) super( wrest_uri, Net::HTTP::Get, parameters, nil, headers, ) end |