Module: IIPolicy

Defined in:
lib/ii_policy.rb,
lib/ii_policy/base.rb,
lib/ii_policy/core.rb,
lib/ii_policy/config.rb,
lib/ii_policy/errors.rb,
lib/ii_policy/helper.rb,
lib/ii_policy/lookup.rb,
lib/ii_policy/context.rb,
lib/ii_policy/railtie.rb,
lib/ii_policy/version.rb,
lib/ii_policy/coactors.rb,
lib/ii_policy/callbacks.rb,
lib/ii_policy/controller.rb,
lib/ii_policy/contextualizer.rb,
lib/ii_policy/log_subscriber.rb,
lib/ii_policy/instrumentation.rb

Defined Under Namespace

Modules: Callbacks, Coactors, Contextualizer, Controller, Core, Helper, Instrumentation, Lookup Classes: AuthorizationError, Base, Config, Context, Error, LogSubscriber, Railtie

Constant Summary collapse

VERSION =
'2.3.0'

Class Method Summary collapse

Class Method Details

.configObject



21
22
23
# File 'lib/ii_policy.rb', line 21

def config
  Config
end

.configure {|Config| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/ii_policy.rb', line 17

def configure
  yield Config
end