Class: Flute::Request
- Inherits:
-
Typhoeus::Request
- Object
- Typhoeus::Request
- Flute::Request
- Defined in:
- lib/flute/request.rb
Instance Method Summary collapse
Instance Method Details
#meta ⇒ Object
3 4 5 |
# File 'lib/flute/request.rb', line 3 def @meta end |
#meta=(item) ⇒ Object
7 8 9 |
# File 'lib/flute/request.rb', line 7 def (item) @meta = item end |
#response_html ⇒ Object
11 12 13 |
# File 'lib/flute/request.rb', line 11 def response_html Document.parse response.body end |
#response_json ⇒ Object
15 16 17 |
# File 'lib/flute/request.rb', line 15 def response_json JSON.parse(response.body).symbolize_keys end |