Sha256: 809a1051c341eeccc760a35d5ae4aedd61c7b6d490590fe9cd6d51299c86e31f

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 Bytes

Contents

require 'active_admin'
require 'active_admin/audit/configuration'
require 'active_admin/audit/version'
require 'active_admin/audit/engine'
require 'active_admin/audit/controller_helper'
require 'active_admin/audit/has_versions'
require 'active_admin/audit/version_snapshot'
require 'active_admin/views/latest_versions'
require 'active_admin/versions_helper'

module ActiveAdmin
  module Audit
    class << self
      attr_accessor :configuration

      def configuration
        @configuration ||= ::ActiveAdmin::Audit::Configuration.new
      end

      # Gets called within the initializer
      def setup
        yield(configuration)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-audit-0.1.4 lib/active_admin/audit.rb
activeadmin-audit-0.1.2 lib/active_admin/audit.rb
activeadmin-audit-0.1.1 lib/active_admin/audit.rb