Class: Fog::Hyperv::Model

Inherits:
Model
  • Object
show all
Extended by:
ModelExtends
Includes:
ModelIncludes
Defined in:
lib/fog/model.rb

Instance Method Summary collapse

Methods included from ModelExtends

lazy_attributes

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