Class: UserAccount
Instance Method Summary
collapse
descendants_using_encryption, lockbox_options, #timestamp_attributes_for_update_in_model, #valid?
Instance Method Details
#accepted_current_terms_of_use? ⇒ Boolean
23
24
25
|
# File 'app/models/user_account.rb', line 23
def accepted_current_terms_of_use?
terms_of_use_agreements.current.last&.accepted?
end
|
#needs_accepted_terms_of_use? ⇒ Boolean
17
18
19
|
# File 'app/models/user_account.rb', line 17
def needs_accepted_terms_of_use?
verified? && !accepted_current_terms_of_use?
end
|
#verified? ⇒ Boolean
13
14
15
|
# File 'app/models/user_account.rb', line 13
def verified?
icn.present?
end
|