Class: Prevoty::HashResult

Inherits:
Object
  • Object
show all
Defined in:
lib/prevoty/responses/hash_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hashObject (readonly)

Returns the value of attribute hash.



3
4
5
# File 'lib/prevoty/responses/hash_result.rb', line 3

def hash
  @hash
end