lib/gman_client/api/customer_contracts.rb
# frozen_string_literal: true
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