Class: Fog::Ecloud::MockDataClasses::MockPublicIps

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

Constructor Details

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

Instance Method Details

#itemsObject



655
656
657
# File 'lib/fog/ecloud/mock_data_classes.rb', line 655

def items
  @items ||= []
end

#nameObject



651
652
653
# File 'lib/fog/ecloud/mock_data_classes.rb', line 651

def name
  self[:name] || "Public IPs"
end