Sha256: 6af976dfe08c3ae69d73b8abda275e86502439adbd0f1bed335e50b90d5200e8

Contents?: true

Size: 846 Bytes

Versions: 10

Compression:

Stored size: 846 Bytes

Contents

module Fog
  module GoGrid
    class Real

      # List ips
      #
      # ==== Parameters
      # * options<~Hash>:
      #   * 'datacenter'<~String> - datacenter to limit results to
      #   * 'ip.state'<~String>      - state to limit results to in ip.state
      #   * 'ip.type'<~String>       - type to limit results to in ip.type
      #   * 'num_items'<~Integer> - Number of items to return
      #   * 'page'<~Integer>      - Page index for paginated results
      #
      # ==== Returns
      # * response<~Excon::Response>:
      #   * body<~Array>:
      # TODO: docs
      def grid_ip_list(options={})
        request(
          :path     => 'grid/ip/list',
          :query    => options
        )
      end

    end

    class Mock

      def grid_ip_list(options={})
        Fog::Mock.not_implemented
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
fog-0.2.30 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.28 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.27 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.26 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.25 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.24 lib/fog/go_grid/requests/grid_ip_list.rb
tecnh-fog-0.2.23.vpc lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.23 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.22 lib/fog/go_grid/requests/grid_ip_list.rb
fog-0.2.21 lib/fog/go_grid/requests/grid_ip_list.rb