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

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



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

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

#disksObject



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

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

#nameObject



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

def name
  self[:name]
end

#vapp_templateObject



343
344
345
# File 'lib/fog/compute/ecloud.rb', line 343

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