Class: VCloudSdk::CatalogItem
- Inherits:
-
Object
- Object
- VCloudSdk::CatalogItem
show all
- Includes:
- Infrastructure
- Defined in:
- lib/ruby_vcloud_sdk/catalog_item.rb
Overview
Represents the calalog item in calalog.
Constant Summary
Infrastructure::ERROR_STATUSES, Infrastructure::SUCCESS_STATUS
Instance Method Summary
collapse
Constructor Details
#initialize(session, link) ⇒ CatalogItem
9
10
11
12
|
# File 'lib/ruby_vcloud_sdk/catalog_item.rb', line 9
def initialize(session, link)
@session = session
@link = link
end
|
Instance Method Details
#href ⇒ Object
22
23
24
|
# File 'lib/ruby_vcloud_sdk/catalog_item.rb', line 22
def href
entity_xml.entity[:href]
end
|
#name ⇒ Object
14
15
16
|
# File 'lib/ruby_vcloud_sdk/catalog_item.rb', line 14
def name
entity_xml.entity[:name]
end
|
#type ⇒ Object
18
19
20
|
# File 'lib/ruby_vcloud_sdk/catalog_item.rb', line 18
def type
entity_xml.entity[:type]
end
|