module AuthorizeAction
Public Class Methods
included(base)
click to toggle source
# File lib/authorize_action.rb, line 14 def self.included(base) base.extend(ClassMethods) end
Public Instance Methods
Private Instance Methods
current_action_name()
click to toggle source
# File lib/authorize_action.rb, line 28 def current_action_name raise NotImplementedError end
forbid_action!()
click to toggle source
# File lib/authorize_action.rb, line 24 def forbid_action! raise NotImplementedError end