Class: APND::Settings::Feedback
- Inherits:
-
Object
- Object
- APND::Settings::Feedback
- Defined in:
- lib/apnd/settings.rb
Overview
Settings for APND::Feedback
Instance Attribute Summary collapse
-
#host ⇒ Object
Host used to connect to Apple.
-
#port ⇒ Object
Port used to connect to Apple.
Instance Method Summary collapse
-
#initialize ⇒ Feedback
constructor
A new instance of Feedback.
Constructor Details
#initialize ⇒ Feedback
Returns a new instance of Feedback.
127 128 129 130 |
# File 'lib/apnd/settings.rb', line 127 def initialize @host = 'feedback.sandbox.push.apple.com' @port = 2196 end |
Instance Attribute Details
#host ⇒ Object
Host used to connect to Apple
Development: feedback.sandbox.push.apple.com
Production: feedback.push.apple.com
118 119 120 |
# File 'lib/apnd/settings.rb', line 118 def host @host end |
#port ⇒ Object
Port used to connect to Apple
Default: 2196
125 126 127 |
# File 'lib/apnd/settings.rb', line 125 def port @port end |