Class: Jpzip::Http::Result
- Inherits:
-
Struct
- Object
- Struct
- Jpzip::Http::Result
- Defined in:
- lib/jpzip/http.rb
Overview
Result wraps an HTTP response: body (String or nil) and status (Integer).
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
15 16 17 |
# File 'lib/jpzip/http.rb', line 15 def body @body end |
#status ⇒ Object
Returns the value of attribute status
15 16 17 |
# File 'lib/jpzip/http.rb', line 15 def status @status end |