Class: Fog::Vcloud::MockDataClasses::MockCatalogItem

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/vcloud/mock_data_classes.rb

Instance Method Summary collapse

Methods inherited from Base

#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last

Constructor Details

This class inherits a constructor from Fog::Vcloud::MockDataClasses::Base

Instance Method Details

#customizationObject



307
308
309
# File 'lib/fog/vcloud/mock_data_classes.rb', line 307

def customization
  @customization ||= MockCatalogItemCustomization.new({}, self)
end

#disksObject



303
304
305
# File 'lib/fog/vcloud/mock_data_classes.rb', line 303

def disks
  @disks ||= MockVirtualMachineDisks.new(self)
end

#nameObject



299
300
301
# File 'lib/fog/vcloud/mock_data_classes.rb', line 299

def name
  self[:name]
end

#vapp_templateObject



311
312
313
# File 'lib/fog/vcloud/mock_data_classes.rb', line 311

def vapp_template
  @vapp_template ||= MockCatalogItemVappTemplate.new({ :name => name }, self)
end