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