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-2.3.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-ifeel-2.2.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-2.2.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-2.1.0 lib/fog/vcloud_director/models/compute/catalog.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/vcloud_director/models/compute/catalog.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/vcloud_director/models/compute/catalog.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.42.1 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.10 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.9 lib/fog/vcloud_director/models/compute/catalog.rb
fog-2.0.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.42.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.41.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.40.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-1.39.0 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.8 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.7 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.6 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.5 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.1.4 lib/fog/vcloud_director/models/compute/catalog.rb