Class: BMO::Configuration::APNS

Inherits:
Object
  • Object
show all
Defined in:
lib/bmo/configuration.rb

Overview

APNS Configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAPNS

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_passObject

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_pathObject

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_hostObject

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_portObject

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_hostObject

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_portObject

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