Class: Sensi::Response
- Inherits:
-
HashToObject
- Object
- HashToObject
- Sensi::Response
- Defined in:
- lib/sensi/response.rb
Constant Summary
Constants inherited from HashToObject
Instance Method Summary collapse
-
#initialize(hash) ⇒ Response
constructor
A new instance of Response.
Methods inherited from HashToObject
#add, #add_var, #contains_hash, #convert, #from_json!, #to_json
Constructor Details
#initialize(hash) ⇒ Response
Returns a new instance of Response.
7 8 9 |
# File 'lib/sensi/response.rb', line 7 def initialize(hash) convert(hash) end |