Class: GlossyApp::GlossyResponse
- Inherits:
-
Object
- Object
- GlossyApp::GlossyResponse
- Defined in:
- lib/glossyapp/session.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, body) ⇒ GlossyResponse
constructor
A new instance of GlossyResponse.
Constructor Details
#initialize(status, body) ⇒ GlossyResponse
Returns a new instance of GlossyResponse.
113 114 115 116 |
# File 'lib/glossyapp/session.rb', line 113 def initialize(status, body) @status = status @body = body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
111 112 113 |
# File 'lib/glossyapp/session.rb', line 111 def body @body end |
#status ⇒ Object
Returns the value of attribute status.
110 111 112 |
# File 'lib/glossyapp/session.rb', line 110 def status @status end |