lib/yao/resources/aggregates.rb in yao-0.3.6 vs lib/yao/resources/aggregates.rb in yao-0.3.7
- old
+ new
@@ -2,17 +2,9 @@
module Yao::Resources
class Aggregates < Base
friendly_attributes :availability_zone, :deleted, :hosts, :metadata, :name
- def created_at
- Date.parse(self["created_at"])
- end
-
- def updated_at
- Date.parse(self["updated_at"]) if self["updated_at"]
- end
-
def deleted_at
Date.parse(self["deleted_at"]) if self["deleted_at"]
end
self.service = "compute"