Method: Fog::Compute::Bluebox::Real#get_locations

Defined in:
lib/fog/bluebox/requests/compute/get_locations.rb

#get_locationsObject

Get list of locations

Returns

  • response<~Excon::Response>:

    • body<~Array>:

      • ‘id’<~String> - UUID of the location

      • ‘description’<~String> - Description of the location



13
14
15
16
17
18
19
# File 'lib/fog/bluebox/requests/compute/get_locations.rb', line 13

def get_locations
  request(
    :expects  => 200,
    :method   => 'GET',
    :path     => 'api/locations.json'
  )
end