Class: APND::Settings::Feedback

Inherits:
Object
  • Object
show all
Defined in:
lib/apnd/settings.rb

Overview

Settings for APND::Feedback

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFeedback

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

#hostObject

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

#portObject

Port used to connect to Apple

Default: 2196


125
126
127
# File 'lib/apnd/settings.rb', line 125

def port
  @port
end