Sha256: ff6bd3032fcd6519bf057b7f98620ed0cd754feefba425e6b01c3f25d178bce9

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

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.4.1 lib/gman_client/api/pick_up_orders.rb
gman_client-0.4.0 lib/gman_client/api/pick_up_orders.rb