Class: ResourceIn::Machine
- Includes:
- MachineResourceImpl
- Defined in:
- lib/resource_in/machine.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#manager ⇒ Object
readonly
Returns the value of attribute manager.
Attributes inherited from Resource
Instance Method Summary collapse
-
#initialize ⇒ Machine
constructor
A new instance of Machine.
Methods included from MachineResourceImpl
#do_create, #filter, #get, #list, #output, #output_detail
Methods inherited from Resource
#do_create, #filter, #list, #output
Constructor Details
#initialize ⇒ Machine
Returns a new instance of Machine.
9 10 11 12 |
# File 'lib/resource_in/machine.rb', line 9 def initialize super @drivers = [UCSDriver, VMwareDriver] end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
7 8 9 |
# File 'lib/resource_in/machine.rb', line 7 def location @location end |
#manager ⇒ Object (readonly)
Returns the value of attribute manager.
7 8 9 |
# File 'lib/resource_in/machine.rb', line 7 def manager @manager end |