-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to create the special Parse "Installation" object for push notifications creates a new custom class called "Instllation" #75
Comments
Was the typo in the title intentional? "Instllation" doesn't appear anywhere in
This would require some additional code to fully support here. If you would like to add this feature, let me know and I can provide pretty decent help to get you going. |
No. Typo was typo just here. The code is trying to create the "Installation" object. On Sunday, March 31, 2013 at 1:02 PM, Alan deLevie wrote:
|
I stubbed out the basic stuff here: de6c3c7. Just clone/pull and start where I left off. Take a look at Also: be sure to write some tests, even failing ones. |
Hi. Works like a charm. Shahar Nechmad On Sunday, March 31, 2013 at 1:12 PM, Alan deLevie wrote:
|
Thanks a lot @nechmads! Feel free to add this to the readme or to features.md (this will eventually become the readme). |
When trying to create a new Installation object for push notifications, instead of getting a new object from the Parse "special type" Installation, a new custom class is being created.
Code:
new_user = Parse::Object.new "Installation"
new_user["deviceType"] = "ios"
new_user["deviceToken"] = ios_token
new_user["channels"] = Array.new
new_user["channels"] << ""
new_user.save
The text was updated successfully, but these errors were encountered: