Skip to content

Commit

Permalink
add examples of using push
Browse files Browse the repository at this point in the history
  • Loading branch information
tikhon committed Apr 19, 2012
1 parent c46979b commit e8aca84
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -117,11 +117,15 @@ Parse::Query.new("GameScore") \

```

# Pushes
push = Parse::Push.new({ "alert"=> "I'm sending this push to all my app users!" })
push.save


# TODO

- Add some form of debug logging
- ~~Support for Date, Pointer, and Bytes API [data types](https://www.parse.com/docs/rest#objects-types)~~
- Users
- ACLs
- Login

Expand Down
4 changes: 4 additions & 0 deletions example.rb
Expand Up @@ -28,3 +28,7 @@
.value_in("score", [10, 20, 30, 40]) \
.get

# Pushes
push = Parse::Push.new({ "alert"=> "I'm sending this push to all my app users!" })
push.save

0 comments on commit e8aca84

Please sign in to comment.