Sha256: 69a6c0c86273bd3cbc06bbe9fb0077d77cd7cf154978e89e87968bd17186a327
Contents?: true
Size: 674 Bytes
Versions: 28
Compression:
Stored size: 674 Bytes
Contents
module Fog module Compute class Ecloud class CatalogItem < Fog::Ecloud::Model identity :href attribute :name, :aliases => :Name attribute :type, :aliases => :Type attribute :other_links, :aliases => :Links attribute :status, :aliases => :Status attribute :alerts, :aliases => :Alerts attribute :files, :aliases => :Files def configuration @configuration = Fog::Compute::Ecloud::CatalogConfigurations.new(:service => service, :href => "/cloudapi/ecloud/admin/catalog/#{id}/configuration") end def id href.scan(/\d+/)[0] end end end end end
Version data entries
28 entries across 28 versions & 6 rubygems