Method: Unit::Resource::CounterpartyResource.list

Defined in:
lib/unit/api_resources/counterparty_resource.rb

.list(params = nil) ⇒ UnitResponse, UnitError

List counterparties



58
59
60
61
# File 'lib/unit/api_resources/counterparty_resource.rb', line 58

def list(params = nil)
  response = HttpHelper.get("#{api_url}/counterparties", params: params.to_hash, headers: headers)
  response_handler(response)
end