Sha256: 93d0e30a44c79e41d375400b1455fddbd41fc8e5f0a812a1469205608a1798bf
Contents?: true
Size: 513 Bytes
Versions: 11
Compression:
Stored size: 513 Bytes
Contents
require 'active_support' module NotificationSettings module SubscriptionLibrary extend ActiveSupport::Concern included do after_create_commit :create_notification_setting include NotificationSettings::SubscriptionLibrary::InstanceMethods end module InstanceMethods private def create_notification_setting self.notification_setting.create! end end end end
Version data entries
11 entries across 11 versions & 1 rubygems