Class: Fog::Hyperv::Model
- Inherits:
-
Model
- Object
- Model
- Fog::Hyperv::Model
- Extended by:
- ModelExtends
- Includes:
- ModelIncludes
- Defined in:
- lib/fog/model.rb
Direct Known Subclasses
Compute::Hyperv::Bios, Compute::Hyperv::Cluster, Compute::Hyperv::ComPort, Compute::Hyperv::DvdDrive, Compute::Hyperv::Firmware, Compute::Hyperv::FloppyDrive, Compute::Hyperv::HardDrive, Compute::Hyperv::Host, Compute::Hyperv::NetworkAdapter, Compute::Hyperv::Switch, Compute::Hyperv::Vhd
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Model
constructor
A new instance of Model.
Methods included from ModelExtends
Methods included from ModelIncludes
#cluster, #computer, #dirty?, #lazy_attributes, #parent, #vm
Constructor Details
#initialize(attributes = {}) ⇒ Model
Returns a new instance of Model.
84 85 86 87 88 |
# File 'lib/fog/model.rb', line 84 def initialize(attributes = {}) super @old = dup if persisted? end |