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