Source: show
# File app/models/concerns/authentication_inactivable.rb, line 32 def mark_authentication_active assign_attributes( authentication_inactive_reason: nil, authentication_inactive: false ) self end
# File app/models/concerns/authentication_inactivable.rb, line 24 def mark_authentication_inactive(reason = {}) assign_attributes( authentication_inactive_reason: reason, authentication_inactive: true ) self end