Sha256: cd60d7a07b43b14af71f8ad00fe62330fd95c1ca69912c1ffef3faa9ba8e0c62
Contents?: true
Size: 559 Bytes
Versions: 11
Compression:
Stored size: 559 Bytes
Contents
module NotificationHandler class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration end class Configuration attr_accessor :groups attr_accessor :cache def initialize @groups = [] @cache = false end def define_group name, target_scope self.groups << ::NotificationHandler::Group.new(name.to_sym, target_scope) end end end
Version data entries
11 entries across 11 versions & 1 rubygems