Sha256: b0de95c9aac9106611edc1a6a519215c2a29e0496ac9d871bc1209a7f83897bb
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
require 'date' 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" self.resources_name = "aggregates" self.resources_path = "os-aggregates" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yao-0.3.6 | lib/yao/resources/aggregates.rb |
yao-0.3.5 | lib/yao/resources/aggregates.rb |