Class: PuppetRestClient::PE::Node

Inherits:
Base
  • Object
show all
Defined in:
lib/puppet-rest/pe/entities/node.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#[], attr_reader, get, get_or_new, identity_map, #keys, #resource, #title, #update

Constructor Details

#initialize(attrs = Mash.new) ⇒ Node

Returns a new instance of Node.



5
6
7
# File 'lib/puppet-rest/pe/entities/node.rb', line 5

def initialize(attrs=Mash.new)
  super
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/puppet-rest/pe/entities/node.rb', line 3

def name
  @name
end