Class: Fog::Vcloud::MockDataClasses::MockVdcInternetServices
- Defined in:
- lib/fog/vcloud/mock_data_classes.rb
Overview
for Terremark eCloud
Instance Method Summary collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #initialize, #inspect, #last
Constructor Details
This class inherits a constructor from Fog::Vcloud::MockDataClasses::Base
Instance Method Details
#href ⇒ Object
568 569 570 |
# File 'lib/fog/vcloud/mock_data_classes.rb', line 568 def href _parent.href + "/internetServices" end |
#items ⇒ Object
576 577 578 579 580 |
# File 'lib/fog/vcloud/mock_data_classes.rb', line 576 def items _parent.public_ip_collection.items.inject([]) do |services, public_ip| services + public_ip.internet_service_collection.items end end |
#name ⇒ Object
572 573 574 |
# File 'lib/fog/vcloud/mock_data_classes.rb', line 572 def name "Internet Services" end |