Class: Fog::Compute::XenServer::HostMetrics

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

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ HostMetrics

Returns a new instance of HostMetrics.



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

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