Sha256: 082ead74c5a6c831d5140c549bb99193da1dc0a875d2b8ec13d9f0e9ade44b89
Contents?: true
Size: 427 Bytes
Versions: 6
Compression:
Stored size: 427 Bytes
Contents
class GuestUser extend ActiveModel::Callbacks include ActiveModel::Validations include Devise::Models::DeviseXfactorAuthenticatable define_model_callbacks :create attr_accessor :direct_otp, :direct_otp_sent_at, :otp_secret_key, :email, :second_factor_attempts_count, :totp_timestamp def update(attrs) attrs.each do |key, value| send(key.to_s + '=', value) end end has_one_time_password end
Version data entries
6 entries across 6 versions & 1 rubygems