app/models/notification_settings/setting.rb in notification-settings-1.2.5 vs app/models/notification_settings/setting.rb in notification-settings-1.2.6
- old
+ new
@@ -1,13 +1,15 @@
-class NotificationSettings::Setting < ActiveRecord::Base
-
- self.table_name = 'notification_settings_settings'
-
- include NotificationSettings::SettingLibrary
-
- serialize :settings, Hash
- serialize :category_settings, Hash
-
- belongs_to :object, polymorphic: true, optional: true
- belongs_to :subscription, optional: true
-
-end
+# frozen_string_literal: true
+
+module NotificationSettings
+ class Setting < ActiveRecord::Base
+ self.table_name = 'notification_settings_settings'
+
+ include NotificationSettings::SettingLibrary
+
+ serialize :settings, Hash
+ serialize :category_settings, Hash
+
+ belongs_to :object, polymorphic: true, optional: true
+ belongs_to :subscription, optional: true
+ end
+end