Class: Grocer::PushConnection

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/grocer/push_connection.rb

Constant Summary collapse

PRODUCTION_GATEWAY =
'gateway.push.apple.com'
LOCAL_GATEWAY =
'127.0.0.1'
SANDBOX_GATEWAY =
'gateway.sandbox.push.apple.com'

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ PushConnection

Returns a new instance of PushConnection.



12
13
14
15
# File 'lib/grocer/push_connection.rb', line 12

def initialize(options)
  options = apply_defaults(options)
  super(Connection.new(options))
end