class Nem::Model::NodeIdentity

Attributes

name[R]
public_key[R]

Public Class Methods

new_from_identity(hash) click to toggle source
# File lib/nem/model/node.rb, line 39
def self.new_from_identity(hash)
  new(
    name: hash[:name],
    public_key: hash[:"public-key"]
  )
end