Class: PuppetRestClient::PE::Node
- Defined in:
- lib/puppet-rest/pe/entities/node.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attrs = Mash.new) ⇒ Node
constructor
A new instance of Node.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/puppet-rest/pe/entities/node.rb', line 3 def name @name end |