Sha256: 77b0005a4e220bba48eeb571aec0b50ccfc04c60840c77dd73dab69ace20e824
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
module Rpush module Daemon module Apns extend ServiceConfigMethods HOSTS = { :production => ['gateway.push.apple.com', 2195], :development => ['gateway.sandbox.push.apple.com', 2195], # deprecated :sandbox => ['gateway.sandbox.push.apple.com', 2195] } dispatcher :tcp, :host => Proc.new { |app| HOSTS[app.environment.to_sym] } loops Rpush::Daemon::Apns::FeedbackReceiver end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpush-1.0.0-java | lib/rpush/daemon/apns.rb |
rpush-1.0.0 | lib/rpush/daemon/apns.rb |