Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aklaiber committed Sep 3, 2014
1 parent e67c75b commit c58796e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ production:
```
``` ruby
Rgcm::Message.new.post('_GCM_REGESTRATION_ID_', data) # => Rgcm::Response
Rgcm::Message.new.post('_GCM_REGESTRATION_ID_', { foo: 'bar' }) # => Rgcm::Response

Rgcm::Message.new.post(['_GCM_REGESTRATION_ID_1_', '_GCM_REGESTRATION_ID_2_'], data) # => Rgcm::Response
Rgcm::Message.new.post(['_GCM_REGESTRATION_ID_1_', '_GCM_REGESTRATION_ID_2_'], { foo: 'bar' }) # => Rgcm::Response
```
Rgcm::Response methods:
Expand All @@ -82,7 +82,7 @@ Rgcm::Response methods:
```

``` ruby
response = Rgcm::Message.new('_API_KEY_').post('_GCM_REGESTRATION_ID_', data)
response = Rgcm::Message.new('_API_KEY_').post('_GCM_REGESTRATION_ID_', { foo: 'bar' })

response.count_successes # => 1
response.count_failures # => 0
Expand Down

0 comments on commit c58796e

Please sign in to comment.