Sha256: 6d700824dc3d45cb1cb566be848a62db95fbb398948c2f1d8555d872727e26aa

Contents?: true

Size: 647 Bytes

Versions: 44

Compression:

Stored size: 647 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

      class Mock

        def grid_server_get(servers)
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
fog-0.5.1 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.5.0 lib/fog/compute/requests/go_grid/grid_server_get.rb
phpfog-fog-0.4.1.3 lib/fog/compute/requests/go_grid/grid_server_get.rb
phpfog-fog-0.4.1.2 lib/fog/compute/requests/go_grid/grid_server_get.rb
phpfog-fog-0.4.1.1 lib/fog/compute/requests/go_grid/grid_server_get.rb
phpfog-fog-0.4.1 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.4.1 lib/fog/compute/requests/go_grid/grid_server_get.rb
fog-0.4.0 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.34 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.33 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.32 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.31 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.30 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.29 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.28 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.27 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.26 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.25 lib/fog/go_grid/requests/compute/grid_server_get.rb
fog-0.3.24 lib/fog/go_grid/requests/compute/grid_server_get.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/go_grid/requests/compute/grid_server_get.rb