Sha256: 7fe5ab7e8f274d782167c0e61d0a59abc1a3acc2af1d0f18ff2b2adc84adf707

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

class User
  extend ActiveModel::Callbacks
  include ActiveModel::Validations
  include ActiveModel::OneTimePassword

  define_model_callbacks :create
  attr_accessor :otp_secret_key, :email

  has_one_time_password
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_model_otp-1.2.0 test/models/user.rb
active_model_otp-1.1.0 test/models/user.rb