Sha256: 3252df72aabff7cf9b37611c153028e7bcbd14f906133a8f5117feca638a902b

Contents?: true

Size: 358 Bytes

Versions: 27

Compression:

Stored size: 358 Bytes

Contents

require 'date'

module Yao::Resources
  class Aggregates < Base
    friendly_attributes :availability_zone, :deleted, :hosts, :metadata, :name

    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

27 entries across 27 versions & 1 rubygems

Version Path
yao-0.13.4 lib/yao/resources/aggregates.rb
yao-0.13.3 lib/yao/resources/aggregates.rb
yao-0.13.2 lib/yao/resources/aggregates.rb
yao-0.13.1 lib/yao/resources/aggregates.rb
yao-0.13.0 lib/yao/resources/aggregates.rb
yao-0.12.0 lib/yao/resources/aggregates.rb
yao-0.11.3 lib/yao/resources/aggregates.rb
yao-0.11.2 lib/yao/resources/aggregates.rb
yao-0.11.1 lib/yao/resources/aggregates.rb
yao-0.11.0 lib/yao/resources/aggregates.rb
yao-0.10.1 lib/yao/resources/aggregates.rb
yao-0.10.0 lib/yao/resources/aggregates.rb
yao-0.9.1 lib/yao/resources/aggregates.rb
yao-0.9.0 lib/yao/resources/aggregates.rb
yao-0.8.0 lib/yao/resources/aggregates.rb
yao-0.7.0 lib/yao/resources/aggregates.rb
yao-0.6.3 lib/yao/resources/aggregates.rb
yao-0.6.2 lib/yao/resources/aggregates.rb
yao-0.6.1 lib/yao/resources/aggregates.rb
yao-0.6.0 lib/yao/resources/aggregates.rb