Sha256: 1d25c889497349f9f5a609918b370d04913ecac7c8fe94d466d932b67eb403a5

Contents?: true

Size: 525 Bytes

Versions: 88

Compression:

Stored size: 525 Bytes

Contents

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

Version data entries

88 entries across 88 versions & 16 rubygems

Version Path
michiels-fog-1.3.1 lib/fog/bluebox/requests/compute/get_locations.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/bluebox/requests/compute/get_locations.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.3.1 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.3.0 lib/fog/bluebox/requests/compute/get_locations.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.2.0 lib/fog/bluebox/requests/compute/get_locations.rb
ktheory-fog-1.1.2 lib/fog/bluebox/requests/compute/get_locations.rb