Sha256: cedd73f9d8fc073a81259abf6e036add4fdf11ce54502f09b2732c69bd3abf16

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

module GmanClient
  module Api
    module PickUpOrders
      # Retrieves pick up orders
      #
      # @param [Hash] parameters to filter the pick up orders
      def pick_up_orders(filter_params)
        response = attempt(@retry_attempts) do
          get(:pick_up_orders, q: filter_params)
        end

        response.map(&:to_h)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gman_client-0.3.1 lib/gman_client/api/pick_up_orders.rb
gman_client-0.3.0 lib/gman_client/api/pick_up_orders.rb