Module: Authentication::ByCookieToken
- Defined in:
- lib/authentication/by_cookie_token.rb
Defined Under Namespace
Modules: ModelClassMethods, ModelInstanceMethods
Class Method Summary collapse
-
.included(recipient) ⇒ Object
Stuff directives into including module.
Class Method Details
.included(recipient) ⇒ Object
Stuff directives into including module
5 6 7 8 9 10 |
# File 'lib/authentication/by_cookie_token.rb', line 5 def self.included(recipient) recipient.extend(ModelClassMethods) recipient.class_eval do include ModelInstanceMethods end end |