Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fkapsahili authored Aug 12, 2022
1 parent 8a5a707 commit 5c86698
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 5c86698

Please sign in to comment.