Method: Unit::Resource::StatementResource.list
- Defined in:
- lib/unit/api_resources/statement_resource.rb
.list(params = nil) ⇒ UnitResponse, UnitError
Get statements by calling Unit’s API
15 16 17 18 |
# File 'lib/unit/api_resources/statement_resource.rb', line 15 def list(params = nil) response = HttpHelper.get("#{api_url}/statements", params: params&.to_hash, headers: headers) response_handler(response) end |