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

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

#itemsObject



688
689
690
# File 'lib/fog/compute/ecloud.rb', line 688

def items
  @items ||= []
end

#nameObject



684
685
686
# File 'lib/fog/compute/ecloud.rb', line 684

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