class P8Pusher::Notification::APNSError
Constants
- CODES
Attributes
code[R]
Public Class Methods
new(code)
click to toggle source
Calls superclass method
# File lib/p8_pusher/notification.rb, line 22 def initialize(code) raise ArgumentError unless CODES.include?(code) super(CODES[code]) @code = code end