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

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/ecloud/compute.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::Ecloud::MockDataClasses::Base

Instance Method Details

#customizationObject



335
336
337
# File 'lib/fog/ecloud/compute.rb', line 335

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

#disksObject



331
332
333
# File 'lib/fog/ecloud/compute.rb', line 331

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

#nameObject



327
328
329
# File 'lib/fog/ecloud/compute.rb', line 327

def name
  self[:name]
end

#vapp_templateObject



339
340
341
# File 'lib/fog/ecloud/compute.rb', line 339

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