Class: Apphunkd::Remote::Result
- Inherits:
-
Object
- Object
- Apphunkd::Remote::Result
- Defined in:
- lib/apphunkd/remote/result.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(new_response) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(new_response) ⇒ Result
Returns a new instance of Result.
8 9 10 |
# File 'lib/apphunkd/remote/result.rb', line 8 def initialize(new_response) self.response = new_response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
6 7 8 |
# File 'lib/apphunkd/remote/result.rb', line 6 def response @response end |
#status ⇒ Object
Returns the value of attribute status.
5 6 7 |
# File 'lib/apphunkd/remote/result.rb', line 5 def status @status end |