Sha256: 27318e57a5f89e1002249c69a7a7d22e924876f7690c7138d1464199e588bbec

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

module GmanClient
  module Api
    module CustomerContracts
      # Retrieves customer contracts
      #
      # @param [Hash] parameters to filter the orders
      def customer_contracts(filter_params)
        response = attempt(@retry_attempts) do
          get(:customer_contracts, 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/customer_contracts.rb
gman_client-0.3.0 lib/gman_client/api/customer_contracts.rb