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-vcloud-director-0.1.3 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.2 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.1 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.38.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.37.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.36.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.35.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-2.0.0.pre.0 lib/fog/vcloud_director/models/compute/catalog.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.34.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.33.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.32.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.31.0 lib/fog/vcloud_director/models/compute/catalog.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.30.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.29.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.28.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.27.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.26.0 lib/fog/vcloud_director/models/compute/catalog.rb