Method: Nem::Model::Keypair.new_from_key_pair_view_model
- Defined in:
- lib/nem/model/keypair.rb
.new_from_key_pair_view_model(hash) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/nem/model/keypair.rb', line 10 def self.new_from_key_pair_view_model(hash) new( private_key: hash[:privateKey], public_key: hash[:publicKey], address: hash[:address] ) end |