Sha256: 3df43d7d8ee2fe6460c566fa76624c9ab60dd3523d36a555b8a1e99a90096830

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

module ActivityNotification
  # Manages to add all required configurations to notifier models of notification.
  module ActsAsNotifier
    extend ActiveSupport::Concern

    class_methods do
      # Adds required configurations to notifier models.
      # @return [nil] nil
      def acts_as_notifier
        include Notifier
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activity_notification-0.0.10 lib/activity_notification/roles/acts_as_notifier.rb