Class: Fog::Compute::XenServer::HostMetrics
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::XenServer::HostMetrics
- Defined in:
- lib/fog/xenserver/models/compute/host_metrics.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ HostMetrics
constructor
A new instance of HostMetrics.
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 |