Skip to content

Commit 34e6804

Browse files
authored
Merge pull request #107 from pusher/tidy-up
Tiny readme and comment updates
2 parents 9ccc225 + 26a65c6 commit 34e6804

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,7 @@ end
250250

251251
## Push Notifications (BETA)
252252

253-
Pusher now allows sending native notifications to iOS and Android devices. Check out the [documentation](https://pusher.com/docs/push_notifications) for information on how to set up push notifications on Android and iOS. There is no additional setup required to use it with this library. It works out of the box with the same Pusher instance. All you need are the same pusher credentials. To install the release:
254-
255-
```
256-
$ gem install pusher -v 1.2.0.rc4
257-
```
253+
Pusher now allows sending native notifications to iOS and Android devices. Check out the [documentation](https://pusher.com/docs/push_notifications) for information on how to set up push notifications on Android and iOS. There is no additional setup required to use it with this library. It works out of the box with the same Pusher instance. All you need are the same pusher credentials.
258254

259255
### Sending native pushes
260256

lib/pusher/native_notification/client.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ def notify(interests, data = {})
2626

2727
private
2828

29-
# TODO: Actual links
30-
#
3129
# {
3230
# interests: [Array of interests],
3331
# apns: {
@@ -38,7 +36,7 @@ def notify(interests, data = {})
3836
# }
3937
# }
4038
#
41-
# @raise [Pusher::Error] if the `apns` or `gcm` key does not exist
39+
# @raise [Pusher::Error] if the interests array is empty
4240
# @return [String]
4341
def payload(interests, data)
4442
interests = Array(interests).map(&:to_s)

0 commit comments

Comments
 (0)