lib/yao/resources/compute_services.rb in yao-0.18.0 vs lib/yao/resources/compute_services.rb in yao-0.19.0
- old
+ new
@@ -1,8 +1,11 @@
module Yao::Resources
class ComputeServices < Base
friendly_attributes :status, :binary, :host, :zone, :state, :disabled_reason, :forced_down
+ map_attributes_to_time :updated_at
+ alias :updated :updated_at
+
self.service = "compute"
self.resource_name = "service"
self.resources_name = "os-services"
# return true if ComputeServices is enabled