Class: Fog::Ecloud::MockDataClasses::MockCatalogItem

Inherits:
Base
  • Object
show all
Defined in:
lib/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!

Constructor Details

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

Instance Method Details

#customizationObject



306
307
308
# File 'lib/fog/ecloud/mock_data_classes.rb', line 306

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

#disksObject



302
303
304
# File 'lib/fog/ecloud/mock_data_classes.rb', line 302

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

#nameObject



298
299
300
# File 'lib/fog/ecloud/mock_data_classes.rb', line 298

def name
  self[:name]
end

#vapp_templateObject



310
311
312
# File 'lib/fog/ecloud/mock_data_classes.rb', line 310

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