class 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