Class: Nis::Struct::ExtendedNodeExperiencePair

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#experienceNis::Struct::NodeExperience


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

def experience
  @experience
end

#experiencesObject

Returns the value of attribute experiences


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

def experiences
  @experiences
end

#nodeNis::Struct::NodeInfo


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

def node
  @node
end

#syncsInteger


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

def syncs
  @syncs
end

Class Method Details

.build(attrs) ⇒ Object


10
11
12
# File 'lib/nis/struct/extended_node_experience_pair.rb', line 10

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