Method: Fog::Ecloud::Compute::InternetServices#all

Defined in:
lib/fog/compute/models/ecloud/internet_services.rb

#allObject



12
13
14
15
16
17
# File 'lib/fog/compute/models/ecloud/internet_services.rb', line 12

def all
  check_href! :message => "the Internet Services for the Vdc you want to enumerate"
  if internet_service_data = connection.get_internet_services(href).body[:InternetService]
    load(Array[internet_service_data].flatten.find_all {|i| i[:IsBackupService] == "false" })
  end
end