Class: Nem::Model::NisNodeInfo
- Inherits:
-
Object
- Object
- Nem::Model::NisNodeInfo
- Includes:
- Nem::Mixin::Assignable
- Defined in:
- lib/nem/model/nis_node_info.rb
Instance Attribute Summary collapse
-
#nis_info ⇒ Object
readonly
Returns the value of attribute nis_info.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Class Method Summary collapse
Methods included from Nem::Mixin::Assignable
Instance Attribute Details
#nis_info ⇒ Object (readonly)
Returns the value of attribute nis_info.
26 27 28 |
# File 'lib/nem/model/nis_node_info.rb', line 26 def nis_info @nis_info end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
26 27 28 |
# File 'lib/nem/model/nis_node_info.rb', line 26 def node @node end |
Class Method Details
.new_from_nis_node_info(hash) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/nem/model/nis_node_info.rb', line 28 def self.new_from_nis_node_info(hash) new( node: Node.new_from_node(hash[:node]), nis_info: NisInfo.new_from_nis_info(hash[:nisInfo]) ) end |