mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
25 lines
No EOL
522 B
Ruby
25 lines
No EOL
522 B
Ruby
require 'fog/core/model'
|
|
|
|
module Fog
|
|
module Compute
|
|
class Vcloudng
|
|
|
|
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 |