lib/apns_simple/notification.rb in apns_simple-0.9.0 vs lib/apns_simple/notification.rb in apns_simple-1.0.0
- old
+ new
@@ -2,10 +2,10 @@
module ApnsSimple
class Notification
attr_reader :token, :alert, :badge, :sound, :content_available, :custom_payload
- attr_accessor :error
+ attr_accessor :error, :error_message, :error_code
def initialize(options, custom_payload = {})
@token = options.fetch(:token)
@alert = options[:alert]
@badge = options[:badge]
\ No newline at end of file