Sha256: 82d299473577422b03fc7905ff799af5607534cecd1299b4b7b066775f410957
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
# 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notification-renderer-1.2.6 | lib/notification_renderer/configuration.rb |