Class: PuppetRestClient::DB::Fact

Inherits:
Base
  • Object
show all
Defined in:
lib/puppet-rest/db/entities/fact.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) ⇒ 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

#certnameObject (readonly)

Returns the value of attribute certname.



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

def certname
  @certname
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#valueObject (readonly)

Returns the value of attribute value.



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

def value
  @value
end