Sha256: a56f3858d34cc3d232d875ccbd065c901c3f635c97afbfd20a82ef7ed59ff405

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require 'active_support'
require 'coactive'

require 'ii_policy/version'
require 'ii_policy/config'
require 'ii_policy/errors'
require 'ii_policy/base'
require 'ii_policy/controller'
require 'ii_policy/helper'
require 'ii_policy/log_subscriber'
require 'ii_policy/railtie' if defined?(Rails)

module IIPolicy
  class << self
    def configure
      yield Config
    end

    def config
      Config
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ii_policy-2.3.0 lib/ii_policy.rb
ii_policy-2.2.2 lib/ii_policy.rb