Class: HTTPSpec::Response
- Inherits:
-
Struct
- Object
- Struct
- HTTPSpec::Response
- Defined in:
- lib/http_spec/types.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
3 4 5 |
# File 'lib/http_spec/types.rb', line 3 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
3 4 5 |
# File 'lib/http_spec/types.rb', line 3 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status
3 4 5 |
# File 'lib/http_spec/types.rb', line 3 def status @status end |