Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Bluebox::Locations

Public Instance Methods

all() click to toggle source
# File lib/fog/bluebox/models/compute/locations.rb, line 12
def all
  data = service.get_locations.body
  load(data)
end
get(location_id) click to toggle source
# File lib/fog/bluebox/models/compute/locations.rb, line 17
def get(location_id)
  response = service.get_location(location_id)
  new(response.body)
rescue Fog::Compute::Bluebox::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.