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