Sha256: 6f9f7f49af2c814e1d57977c5e43c98d4de920018f36cc765b0d16c3b02f501a
Contents?: true
Size: 488 Bytes
Versions: 4
Compression:
Stored size: 488 Bytes
Contents
module Junkie module Push class Endpoint include Log, Config DEFAULT_CONFIG = { gcm_app_key: '', } def initialize(channels) channels[:push_registration].subscribe do |reg| type, regid = reg puts "Add registration %s=%s" % [type, regid] end channels[:push_episode_count].subscribe do |count| puts "Count of encrypted episode links: %d" % [count] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
junkie-0.1.3 | lib/junkie/push/endpoint.rb |
junkie-0.1.2 | lib/junkie/push/endpoint.rb |
junkie-0.1.1 | lib/junkie/push/endpoint.rb |
junkie-0.1.0 | lib/junkie/push/endpoint.rb |