Module: GmanClient::Api::CustomerContracts
- Included in:
- Gman::Client
- Defined in:
- lib/gman_client/api/customer_contracts.rb
Instance Method Summary collapse
-
#customer_contracts(filter_params) ⇒ Object
Retrieves customer contracts.
Instance Method Details
#customer_contracts(filter_params) ⇒ Object
Retrieves customer contracts
9 10 11 12 13 14 15 |
# File 'lib/gman_client/api/customer_contracts.rb', line 9 def customer_contracts(filter_params) response = attempt(@retry_attempts) do get(:customer_contracts, q: filter_params) end response.map(&:to_h) end |