Method: Unit::Resource::RepaymentResource.list
- Defined in:
- lib/unit/api_resources/repayment_resource.rb
.list(params = nil) ⇒ UnitResponse, UnitError
List repayments by calling Unit’s API
25 26 27 28 |
# File 'lib/unit/api_resources/repayment_resource.rb', line 25 def list(params = nil) response = HttpHelper.get("#{api_url}/repayments", params: params&.to_hash, headers: headers) response_handler(response) end |