Class: BMO::Configuration::APNS
- Inherits:
-
Object
- Object
- BMO::Configuration::APNS
- Defined in:
- lib/bmo/configuration.rb
Overview
APNS Configuration
Instance Attribute Summary collapse
-
#cert_pass ⇒ Object
APNS Configuration.
-
#cert_path ⇒ Object
APNS Configuration.
-
#feedback_host ⇒ Object
APNS Configuration.
-
#feedback_port ⇒ Object
APNS Configuration.
-
#gateway_host ⇒ Object
APNS Configuration.
-
#gateway_port ⇒ Object
APNS Configuration.
Instance Method Summary collapse
-
#initialize ⇒ APNS
constructor
A new instance of APNS.
Constructor Details
#initialize ⇒ APNS
Returns a new instance of APNS.
25 26 27 28 29 30 31 32 |
# File 'lib/bmo/configuration.rb', line 25 def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end |
Instance Attribute Details
#cert_pass ⇒ Object
APNS Configuration
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/bmo/configuration.rb', line 20 class APNS attr_accessor :cert_path, :cert_pass, :gateway_host, :gateway_port, :feedback_host, :feedback_port def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end end |
#cert_path ⇒ Object
APNS Configuration
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/bmo/configuration.rb', line 20 class APNS attr_accessor :cert_path, :cert_pass, :gateway_host, :gateway_port, :feedback_host, :feedback_port def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end end |
#feedback_host ⇒ Object
APNS Configuration
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/bmo/configuration.rb', line 20 class APNS attr_accessor :cert_path, :cert_pass, :gateway_host, :gateway_port, :feedback_host, :feedback_port def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end end |
#feedback_port ⇒ Object
APNS Configuration
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/bmo/configuration.rb', line 20 class APNS attr_accessor :cert_path, :cert_pass, :gateway_host, :gateway_port, :feedback_host, :feedback_port def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end end |
#gateway_host ⇒ Object
APNS Configuration
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/bmo/configuration.rb', line 20 class APNS attr_accessor :cert_path, :cert_pass, :gateway_host, :gateway_port, :feedback_host, :feedback_port def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end end |
#gateway_port ⇒ Object
APNS Configuration
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/bmo/configuration.rb', line 20 class APNS attr_accessor :cert_path, :cert_pass, :gateway_host, :gateway_port, :feedback_host, :feedback_port def initialize @gateway_host = 'gateway.push.apple.com' @gateway_port = 2195 @feedback_host = 'feedback.push.apple.com' @feedback_port = 2196 @cert_path = nil @cert_pass = nil end end |