groupon/urbanairship — pull request #6 by eddieroger (2011-10-23 22:40:26+00:00)
Title: Request to Merge for Custom Payloads

Hey guys,

I think your library is great - by far better than the "recommended" library on UA's site, but the one thing I noticed it didn't support that I wanted was the ability to pass down custom payloads. So, I made a super small modification to your awesome library to allow for a custom payload to be enclosed. It doesn't allow for arbitrary data, just a :custom symbol and whatever data the user wants to include (non-sensitive, of course).

Thought it might be useful. Maybe not. Either way, thanks for the library.
-Eddie

My commit message:
Modified VALID_PUSH_PARAMS to accept :custom symbol, allowing a custom payload to accompany the notification.