Module: Unit::Account::DACA

Defined in:
lib/unit/models/account/account.rb

Class Method Summary collapse

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()
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()
end

.enter_control_agreement(account_id:) ⇒ Object

Enter DACA

Parameters:

  • account_id (String)

See Also:



270
271
272
# File 'lib/unit/models/account/account.rb', line 270

def enter_control_agreement(account_id:)
  Unit::Resource::AccountResource.enter_control_agreement()
end