Exception: Pushr::Daemon::ApnsSupport::DisconnectionError
- Inherits:
-
StandardError
- Object
- StandardError
- Pushr::Daemon::ApnsSupport::DisconnectionError
- Defined in:
- lib/pushr/daemon/apns_support/disconnection_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Instance Method Summary collapse
-
#initialize ⇒ DisconnectionError
constructor
A new instance of DisconnectionError.
- #message ⇒ Object
Constructor Details
#initialize ⇒ DisconnectionError
Returns a new instance of DisconnectionError.
7 8 9 10 |
# File 'lib/pushr/daemon/apns_support/disconnection_error.rb', line 7 def initialize @code = nil @description = 'APNs disconnected without returning an error.' end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/pushr/daemon/apns_support/disconnection_error.rb', line 5 def code @code end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
5 6 7 |
# File 'lib/pushr/daemon/apns_support/disconnection_error.rb', line 5 def description @description end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/pushr/daemon/apns_support/disconnection_error.rb', line 12 def 'The APNs disconnected without returning an error. This may indicate you are using an invalid certificate for the host.' end |