Class: ResourceIn::Machine

Inherits:
Resource show all
Includes:
MachineResourceImpl
Defined in:
lib/resource_in/machine.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#drivers, #name, #type

Instance Method Summary collapse

Methods included from MachineResourceImpl

#do_create, #filter, #get, #list, #output, #output_detail

Methods inherited from Resource

#do_create, #filter, #list, #output

Constructor Details

#initializeMachine

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

#locationObject (readonly)

Returns the value of attribute location.



7
8
9
# File 'lib/resource_in/machine.rb', line 7

def location
  @location
end

#managerObject (readonly)

Returns the value of attribute manager.



7
8
9
# File 'lib/resource_in/machine.rb', line 7

def manager
  @manager
end