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
fog-maestrodev-1.15.0.20130927082724 lib/fog/bluebox/requests/compute/get_locations.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.15.0 lib/fog/bluebox/requests/compute/get_locations.rb
gapinc-fog-1.14.0 lib/fog/bluebox/requests/compute/get_locations.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.14.0 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.13.0 lib/fog/bluebox/requests/compute/get_locations.rb
gapinc-fog-1.12.1.2 lib/fog/bluebox/requests/compute/get_locations.rb
gapinc-fog-1.12.1.1 lib/fog/bluebox/requests/compute/get_locations.rb
gapinc-fog-1.12.1a lib/fog/bluebox/requests/compute/get_locations.rb
gapinc-fog-1.12.1 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.12.1 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.12.0 lib/fog/bluebox/requests/compute/get_locations.rb
hpfog-0.0.20 lib/fog/bluebox/requests/compute/get_locations.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/bluebox/requests/compute/get_locations.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/bluebox/requests/compute/get_locations.rb
fog-nirvanix-1.8.2 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.11.1 lib/fog/bluebox/requests/compute/get_locations.rb
fog-1.11.0 lib/fog/bluebox/requests/compute/get_locations.rb
fog-nirvanix-1.8.1 lib/fog/bluebox/requests/compute/get_locations.rb