Class: Fog::Hyperv::ComputerCollection
- Inherits:
-
Collection
- Object
- Collection
- Collection
- Fog::Hyperv::ComputerCollection
- Defined in:
- lib/fog/collection.rb
Direct Known Subclasses
Compute::Hyperv::Servers, Compute::Hyperv::Switches, VMCollection
Instance Attribute Summary collapse
-
#cluster ⇒ Object
Returns the value of attribute cluster.
-
#computer ⇒ Object
Returns the value of attribute computer.
Class Method Summary collapse
Methods inherited from Collection
#all, #create, #get, get_method, #new, requires, requires?
Instance Attribute Details
#cluster ⇒ Object
Returns the value of attribute cluster.
70 71 72 |
# File 'lib/fog/collection.rb', line 70 def cluster @cluster end |
#computer ⇒ Object
Returns the value of attribute computer.
71 72 73 |
# File 'lib/fog/collection.rb', line 71 def computer @computer end |
Class Method Details
.requires_computer ⇒ Object
66 67 68 |
# File 'lib/fog/collection.rb', line 66 def self.requires_computer requires << :computer end |