Sha256: 1b3561af8df73ad226412bb2d81c23aeaaa490739e72f95b43b67f0c8dc82865

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

require 'rails/engine'
require 'active_record'

module NotificationHandler
  class Engine < ::Rails::Engine
    initializer 'notification-handler.active_record' do
      ActiveSupport.on_load :active_record do
        include NotificationHandler::Target
        include NotificationHandler::Object
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notification-handler-3.0.2 lib/notification_handler/engine.rb
notification-handler-2.0.0 lib/notification_handler/engine.rb