Method: HyperResource#put
- Defined in:
- lib/hyper_resource/modules/http.rb
#put(*args) ⇒ Object
Performs a PUT request to this resource’s URL, sending all of attributes as a request body unless an attrs Hash is given. Returns a new resource representing the response.
48 49 50 |
# File 'lib/hyper_resource/modules/http.rb', line 48 def put(*args) to_link.put(*args) end |