Class: CASino::User

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/casino/user.rb

Instance Method Summary collapse

Instance Method Details

#active_two_factor_authenticatorObject


9
10
11
# File 'app/models/casino/user.rb', line 9

def active_two_factor_authenticator
  self.two_factor_authenticators.where(active: true).first
end