Method: Unit::Resource::AccountResource.limits
- Defined in:
- lib/unit/api_resources/account_resource.rb
.limits(account_id) ⇒ UnitResponse, UnitError
Limit account by calling Unit’s API
108 109 110 111 |
# File 'lib/unit/api_resources/account_resource.rb', line 108 def limits(account_id) response = HttpHelper.get("#{api_url}/accounts/#{account_id}/limits", headers: headers) response_handler(response) end |