Method: Casper::Entity::AssociatedKey#initialize
- Defined in:
- lib/entity/associated_key.rb
#initialize(account_hash, weight) ⇒ AssociatedKey
Returns a new instance of AssociatedKey.
8 9 10 11 |
# File 'lib/entity/associated_key.rb', line 8 def initialize(account_hash, weight) @account_hash = account_hash @weight = weight end |