Class: Motoko::Node::Choria

Inherits:
Motoko::Node show all
Defined in:
lib/motoko/node.rb

Instance Attribute Summary

Attributes inherited from Motoko::Node

#identity

Instance Method Summary collapse

Methods inherited from Motoko::Node

#fact

Constructor Details

#initialize(node) ⇒ Choria

Returns a new instance of Choria.



29
30
31
# File 'lib/motoko/node.rb', line 29

def initialize(node)
  super(node[:sender], node[:data][:facts])
end