Sha256: 6052cf4b4e3441a051283f13a196fb83a903ce33d0ac6b3b6181a3c41f95b42f
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
module NotificationPusher class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration end class Configuration def define_pusher name, options = {} options[:name] = name ::NotificationPusher::Pusher.new options end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
notification-pusher-1.0.0.beta8 | lib/notification_pusher/configuration.rb |
notification-pusher-1.0.0.beta7 | lib/notification_pusher/configuration.rb |