Class: Fog::Vcloud::MockDataClasses::MockPublicIps

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/vcloud/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::Vcloud::MockDataClasses::Base

Instance Method Details

#itemsObject



656
657
658
# File 'lib/fog/vcloud/mock_data_classes.rb', line 656

def items
  @items ||= []
end

#nameObject



652
653
654
# File 'lib/fog/vcloud/mock_data_classes.rb', line 652

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