Class: Nis::Struct::Node

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/node.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#endpointObject

Returns the value of attribute endpoint.



8
9
10
# File 'lib/nis/struct/node.rb', line 8

def endpoint
  @endpoint
end

#identityString

Returns the current value of identity.

Returns:

  • (String)

    the current value of identity



6
7
8
# File 'lib/nis/struct/node.rb', line 6

def identity
  @identity
end

#metaDataString Also known as: meta_data

Returns the current value of metaData.

Returns:

  • (String)

    the current value of metaData



6
7
8
# File 'lib/nis/struct/node.rb', line 6

def 
  @metaData
end

#networkIdString

Returns the current value of networkId.

Returns:

  • (String)

    the current value of networkId



6
7
8
# File 'lib/nis/struct/node.rb', line 6

def networkId
  @networkId
end

Class Method Details

.build(attrs) ⇒ Object



12
13
14
# File 'lib/nis/struct/node.rb', line 12

def self.build(attrs)
  new(attrs)
end