Sha256: 9c69520a8fe9af5706020ac5f43c0476a43180cf049ff410e410a7149dd36775
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
module NotificationHandler class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration end class Configuration attr_accessor :cache def initialize @cache = false end def define_group name, target_scope ::NotificationHandler::Group.new name.to_sym, target_scope end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
notification-handler-1.0.0.beta10 | lib/notification_handler/configuration.rb |
notification-handler-1.0.0.beta9 | lib/notification_handler/configuration.rb |