Sha256: be7ac6f50c16ff86d192d2011897d5f41b73cb4d0a37b6605c1b6a54ae409315
Contents?: true
Size: 678 Bytes
Versions: 64
Compression:
Stored size: 678 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 => "#{service.base_path}/admin/catalog/#{id}/configuration") end def id href.scan(/\d+/)[0] end end end end end
Version data entries
64 entries across 62 versions & 7 rubygems