Class: Fog::Ecloud::MockDataClasses::MockCatalogItem
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockCatalogItem
show all
- Defined in:
- lib/rackspace-fog/ecloud/mock_data_classes.rb
Instance Method Summary
collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last
Methods inherited from Hash
#symbolize_keys!
Instance Method Details
#customization ⇒ Object
308
309
310
|
# File 'lib/rackspace-fog/ecloud/mock_data_classes.rb', line 308
def customization
@customization ||= MockCatalogItemCustomization.new({}, self)
end
|
#disks ⇒ Object
304
305
306
|
# File 'lib/rackspace-fog/ecloud/mock_data_classes.rb', line 304
def disks
@disks ||= MockVirtualMachineDisks.new(self)
end
|
#name ⇒ Object
300
301
302
|
# File 'lib/rackspace-fog/ecloud/mock_data_classes.rb', line 300
def name
self[:name]
end
|
#vapp_template ⇒ Object
312
313
314
|
# File 'lib/rackspace-fog/ecloud/mock_data_classes.rb', line 312
def vapp_template
@vapp_template ||= MockCatalogItemVappTemplate.new({ :name => name }, self)
end
|