Sha256: 579296b6826338a807775f3addab1950034f738699fe9c62fdd1df8a5f98307f
Contents?: true
Size: 492 Bytes
Versions: 11
Compression:
Stored size: 492 Bytes
Contents
module NotificationPusher class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration end class Configuration attr_accessor :pushers def initialize @pushers = [] end def define_pusher name, options = {} self.pushers << ::NotificationPusher::Pusher.new(name, options) end end end
Version data entries
11 entries across 11 versions & 1 rubygems