Class: Fog::Compute::XenServer::VbdMetrics

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/xenserver/models/compute/vbd_metrics.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ VbdMetrics

Returns a new instance of VbdMetrics.



18
19
20
21
# File 'lib/fog/xenserver/models/compute/vbd_metrics.rb', line 18

def initialize(attributes = {})
  super
  self.last_updated = attributes[:last_updated].to_time
end