Sha256: a220ad240735b82f7228bd53ec9be20219b5936e0c96cbd51e1d01ed9eab8fbe

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

# 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gman_client-0.4.1 lib/gman_client/api/customer_contracts.rb
gman_client-0.4.0 lib/gman_client/api/customer_contracts.rb