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