Module: ActionPolicy::Graphiti::Behaviour

Defined in:
lib/action_policy/graphiti/behaviour.rb

Overview

Automatically authorize actions

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



93
94
95
96
97
# File 'lib/action_policy/graphiti/behaviour.rb', line 93

def self.included(base)
  base.include(ActionPolicy::Behaviour)

  base.extend(ClassMethods)
end