Giter Site home page Giter Site logo

Trying to create the special Parse "Installation" object for push notifications creates a new custom class called "Instllation" about parse-ruby-client HOT 5 CLOSED

adelevie avatar adelevie commented on August 11, 2024
Trying to create the special Parse "Installation" object for push notifications creates a new custom class called "Instllation"

from parse-ruby-client.

Comments (5)

adelevie avatar adelevie commented on August 11, 2024

Was the typo in the title intentional? "Instllation" doesn't appear anywhere in master. If the typo was an accident, here's the reason why this isn't working:

Parse::Object#save points to /classes/[className]. To create an installation you need to POST to /installations.

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.

from parse-ruby-client.

nechmads avatar nechmads commented on August 11, 2024

No. Typo was typo just here. The code is trying to create the "Installation" object.
I'll be happy to give it a shot if you can just direct me to the right direction to start with.

On Sunday, March 31, 2013 at 1:02 PM, Alan deLevie wrote:

Was the typo in the title intentional? "Instllation" doesn't appear anywhere in master. If the typo was an accident, here's the reason why this isn't working:
Parse::Object#save points to /classes/[className]. To create an installation (https://parse.com/docs/rest#installations-uploading) you need to POST to /installations.
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.


Reply to this email directly or view it on GitHub (#75 (comment)).

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

I stubbed out the basic stuff here: de6c3c7. Just clone/pull and start where I left off.

Take a look at user.rb and object.rb for help.

Also: be sure to write some tests, even failing ones.

from parse-ruby-client.

nechmads avatar nechmads commented on August 11, 2024

Hi.
Just had a chat with someone from Parse. There is a much easier solution. All you need is to use your current code and name the class "_Installation":
new_user = Parse::Object.new "_Installation"

Works like a charm.
You might want to add this to the documentation.
And thanks for the help!!

Shahar Nechmad
Stagedom, Founder/CEO
+1.415.307.5378
@nechmads / @stagedom

On Sunday, March 31, 2013 at 1:12 PM, Alan deLevie wrote:

I stubbed out the basic stuff here: de6c3c7 (de6c3c7). Just clone/pull and start where I left off.
Take a look at user.rb and object.rb for help.


Reply to this email directly or view it on GitHub (#75 (comment)).

from parse-ruby-client.

adelevie avatar adelevie commented on August 11, 2024

Thanks a lot @nechmads!

Feel free to add this to the readme or to features.md (this will eventually become the readme).

from parse-ruby-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.