Sha256: d18fb165296551239d5479b9fb05c83d20ddc167f82cd558b1846c00d4b4fd5a
Contents?: true
Size: 499 Bytes
Versions: 19
Compression:
Stored size: 499 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] } batch_deliveries true dispatcher :apns_tcp, host: proc { |app| HOSTS[app.environment.to_sym] } loops Rpush::Daemon::Apns::FeedbackReceiver, if: -> { !Rpush.config.push } end end end
Version data entries
19 entries across 19 versions & 1 rubygems