class P8push::Notification::APNSError

Constants

CODES

Attributes

code[R]

Public Class Methods

new(code) click to toggle source
Calls superclass method
# File lib/p8push/notification.rb, line 22
def initialize(code)
  raise ArgumentError unless CODES.include?(code)
  super(CODES[code])
  @code = code
end