class Nem::Model::Keypair

Attributes

address[R]
private_key[R]
public_key[R]

Public Class Methods

new_from_key_pair_view_model(hash) click to toggle source
# 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