module SimpleTokenAuthentication::ActsAsTokenAuthenticatable::ClassMethods

Public Instance Methods

acts_as_token_authenticatable(options = {}) click to toggle source
# File lib/simple_token_authentication/acts_as_token_authenticatable.rb, line 43
def acts_as_token_authenticatable(options = {})
  before_save :ensure_authentication_token
end