Sha256: daca04bbd4dd44a1fe5cb4c945e91de6770967f0c9e2d4bd97dccea1482675ee

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

require 'date'

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

    map_attributes_to_time :created_at, :updated_at, :deleted_at
    alias :created :created_at
    alias :updated :updated_at

    self.service        = "compute"
    self.resources_name = "aggregates"
    self.resources_path = "os-aggregates"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yao-0.21.0 lib/yao/resources/aggregates.rb
yao-0.20.0 lib/yao/resources/aggregates.rb
yao-0.19.0 lib/yao/resources/aggregates.rb