Skip to content

Commit

Permalink
Merge pull request #43 from fkapsahili/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
bernardini687 authored Aug 12, 2022
2 parents 8a5a707 + 5c86698 commit 9890d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ If you want to send a notification only to specific targets (a particular user's
pass a `OneSignal::IncludedTargets` to the notification object.
See [the official documentation](https://documentation.onesignal.com/reference#section-send-to-specific-devices) for a list of available params.
```ruby
included_targets = OneSignal::IncludedTargets.new(include_player_ids: 'test-id-12345')
included_targets = OneSignal::IncludedTargets.new(include_player_ids: ['test-id-12345'])
OneSignal::Notification.new(included_targets: included_targets)
```

Expand Down

0 comments on commit 9890d29

Please sign in to comment.