Class: Prevoty::HashResult
- Inherits:
-
Object
- Object
- Prevoty::HashResult
- Defined in:
- lib/prevoty/responses/hash_result.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
readonly
Returns the value of attribute hash.
Instance Method Summary collapse
-
#initialize(data) ⇒ HashResult
constructor
A new instance of HashResult.
Constructor Details
#initialize(data) ⇒ HashResult
Returns a new instance of HashResult.
5 6 7 |
# File 'lib/prevoty/responses/hash_result.rb', line 5 def initialize(data) @hash = data["hash"] end |
Instance Attribute Details
#hash ⇒ Object (readonly)
Returns the value of attribute hash.
3 4 5 |
# File 'lib/prevoty/responses/hash_result.rb', line 3 def hash @hash end |