1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/bluebox/requests/compute/get_locations.rb
2012-02-16 18:48:49 -08:00

24 lines
525 B
Ruby

module Fog
module Compute
class Bluebox
class Real
# Get list of locations
#
# ==== Returns
# * response<~Excon::Response>:
# * body<~Array>:
# * 'id'<~String> - UUID of the location
# * 'description'<~String> - Description of the location
def get_locations
request(
:expects => 200,
:method => 'GET',
:path => 'api/locations.json'
)
end
end
end
end
end