lib/notification_renderer/configuration.rb in notification-renderer-1.2.5 vs lib/notification_renderer/configuration.rb in notification-renderer-1.2.6
- old
+ new
@@ -1,26 +1,24 @@
-module NotificationRenderer
-
- class << self
- attr_accessor :configuration
- end
-
- def self.configure
- self.configuration ||= Configuration.new
- yield configuration
- end
-
- class Configuration
-
- attr_accessor :default_type
- attr_accessor :default_renderer
- attr_accessor :auto_read
-
- def initialize
- @default_type = 'notification'
- @default_renderer = 'index'
- @auto_read = true
- end
-
- end
-
-end
+# frozen_string_literal: true
+
+module NotificationRenderer
+ class << self
+ attr_accessor :configuration
+ end
+
+ def self.configure
+ self.configuration ||= Configuration.new
+ yield configuration
+ end
+
+ class Configuration
+ attr_accessor :default_type
+ attr_accessor :default_renderer
+ attr_accessor :auto_read
+
+ def initialize
+ @default_type = 'notification'
+ @default_renderer = 'index'
+ @auto_read = true
+ end
+ end
+end