Class: WinRes::MetaData
- Inherits:
-
Object
- Object
- WinRes::MetaData
- Defined in:
- lib/puppet/provider/ntx_create_vm/vm-win-res.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#proj ⇒ Object
Returns the value of attribute proj.
Instance Method Summary collapse
- #getMetaData ⇒ Object
-
#initialize(kind, proj) ⇒ MetaData
constructor
A new instance of MetaData.
Constructor Details
#initialize(kind, proj) ⇒ MetaData
Returns a new instance of MetaData.
9 10 11 12 |
# File 'lib/puppet/provider/ntx_create_vm/vm-win-res.rb', line 9 def initialize(kind, proj) @kind = kind @proj = proj; end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
7 8 9 |
# File 'lib/puppet/provider/ntx_create_vm/vm-win-res.rb', line 7 def kind @kind end |
#proj ⇒ Object
Returns the value of attribute proj.
7 8 9 |
# File 'lib/puppet/provider/ntx_create_vm/vm-win-res.rb', line 7 def proj @proj end |
Instance Method Details
#getMetaData ⇒ Object
14 15 16 17 |
# File 'lib/puppet/provider/ntx_create_vm/vm-win-res.rb', line 14 def getMetaData() settings= {categories:{Project: @proj},kind: @kind} return settings; end |