Sha256: a9a1d46587088bef5795aa183d43f5fb2861b6eaa1097f05130a9f989419506a
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 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 = {} ::NotificationPusher::Pusher.new name, options end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
notification-pusher-1.0.0.beta10 | lib/notification_pusher/configuration.rb |
notification-pusher-1.0.0.beta9 | lib/notification_pusher/configuration.rb |