Sha256: d9a7de0dd55d57250de03324c98e787028d2d6aa58f3bb15e134ba4c16ad6e82

Contents?: true

Size: 450 Bytes

Versions: 32

Compression:

Stored size: 450 Bytes

Contents

module Fog
  module Compute
    class Linode
      class Real

        # Get available data centers
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        # TODO: docs
        def avail_datacenters
          request(
            :expects  => 200,
            :method   => 'GET',
            :query    => { :api_action => 'avail.datacenters' }
          )
        end

      end
    end
  end
end

Version data entries

32 entries across 32 versions & 8 rubygems

Version Path
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/avail_datacenters.rb
tag-fog-1.0.1 lib/fog/linode/requests/compute/avail_datacenters.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/avail_datacenters.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/avail_datacenters.rb
fog-1.0.0 lib/fog/linode/requests/compute/avail_datacenters.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_datacenters.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_datacenters.rb
fog-0.11.0 lib/fog/compute/requests/linode/avail_datacenters.rb
fog-0.10.0 lib/fog/compute/requests/linode/avail_datacenters.rb
fog4encbs-0.9.0.1 lib/fog/compute/requests/linode/avail_datacenters.rb
fog4encbs-0.9.0 lib/fog/compute/requests/linode/avail_datacenters.rb
fog-0.9.0 lib/fog/compute/requests/linode/avail_datacenters.rb