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