Class: Grocer::PushConnection
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Grocer::PushConnection
- 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
-
#initialize(options) ⇒ PushConnection
constructor
A new instance of PushConnection.
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() = apply_defaults() super(Connection.new()) end |