Module: ActionAuthorization

Defined in:
lib/action_authorization.rb,
lib/action_authorization/version.rb,
lib/action_authorization/base_policy.rb,
lib/action_authorization/null_policy.rb,
lib/action_authorization/authorization_failure.rb

Defined Under Namespace

Classes: AuthorizationFailure, BasePolicy, NullPolicy

Constant Summary collapse

VERSION =
"0.3.3"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



11
12
13
14
15
# File 'lib/action_authorization.rb', line 11

def self.included(base)
  base.class_eval do
    helper_method :policy
  end
end