Sha256: 1eb84cd07e84069f0f2ab52c79f5ba95190234358648af3c166328ae9e35ef1a

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      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

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/models/compute/catalog.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/models/compute/catalog.rb