Class: Ethon::Easy::Http::Patch
- Inherits:
-
Object
- Object
- Ethon::Easy::Http::Patch
- Includes:
- Actionable, Postable
- Defined in:
- lib/ethon/easy/http/patch.rb
Overview
This class knows everything about making PATCH requests.
Constant Summary
Constants included from Actionable
Instance Method Summary collapse
-
#setup(easy) ⇒ Object
Setup easy to make a PATCH request.
Methods included from Postable
Methods included from Actionable
#form, #initialize, #options, #params, #params_encoding, #query_options, #set_form, #set_params, #url
Instance Method Details
#setup(easy) ⇒ Object
Setup easy to make a PATCH request.
17 18 19 20 |
# File 'lib/ethon/easy/http/patch.rb', line 17 def setup(easy) super easy.customrequest = "PATCH" end |