lib/apns_simple/notification.rb in apns_simple-2.0.0 vs lib/apns_simple/notification.rb in apns_simple-2.0.1

- old
+ new

@@ -29,10 +29,10 @@ if payload_size > PAYLOAD_MAX_BYTESIZE self.error = true self.error_message = "Payload size is #{payload_size} bytes but maximum #{PAYLOAD_MAX_BYTESIZE} bytes allowed." end - self.payload = [0, 0, 32, packed_token, 0, payload_size, packed_message].pack("ccca*cca*") + @payload = [0, 0, 32, packed_token, 0, payload_size, packed_message].pack("ccca*cca*") end end end \ No newline at end of file