Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::Locations

Public Instance Methods

all() click to toggle source
# File lib/fog/ecloud/models/compute/locations.rb, line 15
def all
  data = service.get_organization(href).body[:Locations][:Location]
  load(data)
end
get(uri) click to toggle source
# File lib/fog/ecloud/models/compute/locations.rb, line 20
def get(uri)
  if data = service.get_location(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.