Module: Authentication::ByCookieTokenController

Defined in:
lib/branston/vendor/plugins/restful_authentication/lib/authentication/by_cookie_token.rb

Defined Under Namespace

Modules: ControllerClassMethods, ControllerInstanceMethods

Class Method Summary collapse

Class Method Details

.included(recipient) ⇒ Object

Stuff directives into including module



65
66
67
68
69
70
# File 'lib/branston/vendor/plugins/restful_authentication/lib/authentication/by_cookie_token.rb', line 65

def self.included( recipient )
  recipient.extend( ControllerClassMethods )
  recipient.class_eval do
    include ControllerInstanceMethods
  end
end