Module: GmanClient::Api::PickUpOrders

Included in:
Gman::Client
Defined in:
lib/gman_client/api/pick_up_orders.rb

Instance Method Summary collapse

Instance Method Details

#pick_up_orders(filter_params) ⇒ Object

Retrieves pick up orders

Parameters:

  • parameters (Hash)

    to filter the pick up orders



9
10
11
12
13
14
15
# File 'lib/gman_client/api/pick_up_orders.rb', line 9

def pick_up_orders(filter_params)
  response = attempt(@retry_attempts) do
    get(:pick_up_orders, q: filter_params)
  end

  response.map(&:to_h)
end