Sha256: bd6fba92eb79fd77693a2a85d88cc691bf2bec9ad9e437ca0961e1e44a939885

Contents?: true

Size: 857 Bytes

Versions: 44

Compression:

Stored size: 857 Bytes

Contents

module Fog
  module GoGrid
    class Compute
      class Real

        # List options and lookups
        #
        # ==== Parameters
        # * 'lookup'<~String> - the lookup to be listed
        # * options<~Hash>:
        #   * 'sort'<~String> - column to sort result by in ['description', 'id', 'name']
        #   * 'asc'<~String>  - order to sort in ['true','false']
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        # TODO: docs
        def common_lookup_list(lookup, options={})
          request(
            :path     => 'common/lookup/list',
            :query    => {'lookup' => lookup}.merge!(options)
          )
        end

      end

      class Mock

        def common_lookup_list(lookup, options={})
          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/common_lookup_list.rb
fog-0.5.0 lib/fog/compute/requests/go_grid/common_lookup_list.rb
phpfog-fog-0.4.1.3 lib/fog/compute/requests/go_grid/common_lookup_list.rb
phpfog-fog-0.4.1.2 lib/fog/compute/requests/go_grid/common_lookup_list.rb
phpfog-fog-0.4.1.1 lib/fog/compute/requests/go_grid/common_lookup_list.rb
phpfog-fog-0.4.1 lib/fog/compute/requests/go_grid/common_lookup_list.rb
fog-0.4.1 lib/fog/compute/requests/go_grid/common_lookup_list.rb
fog-0.4.0 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.34 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.33 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.32 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.31 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.30 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.29 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.28 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.27 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.26 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.25 lib/fog/go_grid/requests/compute/common_lookup_list.rb
fog-0.3.24 lib/fog/go_grid/requests/compute/common_lookup_list.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/go_grid/requests/compute/common_lookup_list.rb