Class: Toadhopper::Response
- Inherits:
-
Struct
- Object
- Struct
- Toadhopper::Response
- Defined in:
- lib/toadhopper.rb
Overview
Hoptoad API response
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
11 12 13 |
# File 'lib/toadhopper.rb', line 11 def body @body end |
#errors ⇒ Object
Returns the value of attribute errors
11 12 13 |
# File 'lib/toadhopper.rb', line 11 def errors @errors end |
#status ⇒ Object
Returns the value of attribute status
11 12 13 |
# File 'lib/toadhopper.rb', line 11 def status @status end |