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

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

#itemsObject



294
295
296
# File 'lib/rackspace-fog/ecloud/mock_data_classes.rb', line 294

def items
  @items ||= []
end

#nameObject



290
291
292
# File 'lib/rackspace-fog/ecloud/mock_data_classes.rb', line 290

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