Class: Flurry::Response
- Inherits:
-
Object
- Object
- Flurry::Response
- Defined in:
- lib/flurry/response.rb
Overview
:nodoc:
Instance Method Summary collapse
- #body ⇒ Object
- #code ⇒ Object
-
#initialize(response) ⇒ Response
constructor
A new instance of Response.
- #message ⇒ Object
- #raw ⇒ Object
Constructor Details
#initialize(response) ⇒ Response
Returns a new instance of Response.
3 4 5 |
# File 'lib/flurry/response.rb', line 3 def initialize(response) @response = response end |
Instance Method Details
#body ⇒ Object
7 8 9 |
# File 'lib/flurry/response.rb', line 7 def body @response.parsed_response end |
#code ⇒ Object
11 12 13 |
# File 'lib/flurry/response.rb', line 11 def code @response.code end |
#message ⇒ Object
15 16 17 |
# File 'lib/flurry/response.rb', line 15 def raw. end |
#raw ⇒ Object
19 20 21 |
# File 'lib/flurry/response.rb', line 19 def raw @response.response end |