Sha256: ce124639b3bb2e42af33a30c01159aeac2e791e04d7719e5ada14116e945f8c1

Contents?: true

Size: 476 Bytes

Versions: 54

Compression:

Stored size: 476 Bytes

Contents

require 'fog/core/model'

module Fog
  module Compute
    class VcloudDirector
      class Catalog < Model
        identity  :id

        attribute :name
        attribute :type
        attribute :href
        attribute :description, :aliases => :Description
        attribute :is_published, :aliases => :IsPublished, :type => :boolean

        def catalog_items
          requires :id
          service.catalog_items(:catalog => self)
        end
      end
    end
  end
end

Version data entries

54 entries across 52 versions & 7 rubygems

Version Path
fog-1.25.0 lib/fog/vcloud_director/models/compute/catalog.rb
nsidc-fog-1.24.1 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.24.0 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.11 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.10 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.9 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.8 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.7 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.6 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.23.0 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.4 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.3 lib/fog/vcloud_director/models/compute/catalog.rb
ns-fog-1.22.2 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.22.1 lib/fog/vcloud_director/models/compute/catalog.rb