Class: Apphunkd::Remote::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/apphunkd/remote/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject

Returns the value of attribute response.



6
7
8
# File 'lib/apphunkd/remote/result.rb', line 6

def response
  @response
end

#statusObject

Returns the value of attribute status.



5
6
7
# File 'lib/apphunkd/remote/result.rb', line 5

def status
  @status
end