Class: PuppetRestClient::DB::Fact
- Defined in:
- lib/puppet-rest/db/entities/fact.rb
Instance Attribute Summary collapse
-
#certname ⇒ Object
readonly
Returns the value of attribute certname.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attrs = Mash.new) ⇒ Fact
constructor
A new instance of Fact.
Methods inherited from Base
#[], attr_reader, get, get_or_new, identity_map, #keys, #resource, #title, #update
Constructor Details
#initialize(attrs = Mash.new) ⇒ Fact
Returns a new instance of Fact.
5 6 7 |
# File 'lib/puppet-rest/db/entities/fact.rb', line 5 def initialize(attrs=Mash.new) super end |
Instance Attribute Details
#certname ⇒ Object (readonly)
Returns the value of attribute certname.
3 4 5 |
# File 'lib/puppet-rest/db/entities/fact.rb', line 3 def certname @certname end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/puppet-rest/db/entities/fact.rb', line 3 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/puppet-rest/db/entities/fact.rb', line 3 def value @value end |