Method: Unit::Resource::AccountResource.enter_control_agreement
- Defined in:
- lib/unit/api_resources/account_resource.rb
.enter_control_agreement(account_id) ⇒ UnitResponse, UnitError
Enter a control agreement by calling Unit’s API
16 17 18 19 |
# File 'lib/unit/api_resources/account_resource.rb', line 16 def enter_control_agreement(account_id) response = HttpHelper.post("#{api_url}/accounts/#{account_id}/enter-daca", headers: headers) response_handler(response) end |