Module: SimpleTokenAuthentication::ActsAsTokenAuthenticatable::ClassMethods
- Defined in:
- lib/simple_token_authentication/acts_as_token_authenticatable.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_token_authenticatable(options = {}) ⇒ Object
43 44 45 |
# File 'lib/simple_token_authentication/acts_as_token_authenticatable.rb', line 43 def acts_as_token_authenticatable( = {}) before_save :ensure_authentication_token end |