Sha256: d5329205388c324833add67fc233c06824a4eb64ade3660b983bb29b9bca8d3e

Contents?: true

Size: 532 Bytes

Versions: 9

Compression:

Stored size: 532 Bytes

Contents

module Fog
  module GoGrid
    class Compute
      class Real

        # Get one or more servers by name
        #
        # ==== Parameters
        # * 'server'<~String> - id or name of server(s) to lookup
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        # TODO: docs
        def grid_server_get(servers)
          request(
            :path     => 'grid/server/get',
            :query    => {'server' => [*servers]}
          )
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.8.1 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.8.0 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.7.2 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.7.1 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.7.0 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.6.0 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.5.3 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.5.2 lib/fog/compute/requests/go_grid/grid_server_get.rb