Module: Unit::Account::DACA
- Defined in:
- lib/unit/models/account/account.rb
Class Method Summary collapse
-
.activate_control_agreement(account_id:) ⇒ Object
Activate DACA.
-
.deactivate_control_agreement(account_id:) ⇒ Object
Deactivate DACA.
-
.enter_control_agreement(account_id:) ⇒ Object
Enter DACA.
Class Method Details
.activate_control_agreement(account_id:) ⇒ Object
Activate DACA
277 278 279 |
# File 'lib/unit/models/account/account.rb', line 277 def activate_control_agreement(account_id:) Unit::Resource::AccountResource.activate_control_agreement(account_id) end |
.deactivate_control_agreement(account_id:) ⇒ Object
Deactivate DACA
284 285 286 |
# File 'lib/unit/models/account/account.rb', line 284 def deactivate_control_agreement(account_id:) Unit::Resource::AccountResource.deactivate_control_agreement(account_id) end |
.enter_control_agreement(account_id:) ⇒ Object
Enter DACA
270 271 272 |
# File 'lib/unit/models/account/account.rb', line 270 def enter_control_agreement(account_id:) Unit::Resource::AccountResource.enter_control_agreement(account_id) end |