Class: Fog::Ecloud::MockDataClasses::MockCatalog

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

#itemsObject



321
322
323
# File 'lib/fog/ecloud/compute.rb', line 321

def items
  @items ||= []
end

#nameObject



317
318
319
# File 'lib/fog/ecloud/compute.rb', line 317

def name
  self[:name] || "Catalog"
end