Class: RoadForest::HTTP::Response
- Defined in:
- lib/roadforest/http/message.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from Message
Instance Method Summary collapse
Methods inherited from Message
#body, #body=, #body_string, #body_string=, #empty?, #initialize, #inspect, #inspection_stream
Constructor Details
This class inherits a constructor from RoadForest::HTTP::Message
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
97 98 99 |
# File 'lib/roadforest/http/message.rb', line 97 def status @status end |
Instance Method Details
#etag ⇒ Object
99 100 101 |
# File 'lib/roadforest/http/message.rb', line 99 def etag headers["ETag"] end |
#inspection_payload ⇒ Object
103 104 105 |
# File 'lib/roadforest/http/message.rb', line 103 def inspection_payload [status] + super end |