README.md in fcm-0.0.4 vs README.md in fcm-0.0.5

- old
+ new

@@ -62,12 +62,13 @@ ### Generate a Notification Key for device group Then you will need a notification key which you can create for a particular `key_name` which needs to be uniquely named per app in case you have multiple apps for the same `project_id`. This ensures that notifications only go to the intended target app. The `create` method will do this and return the token `notification_key`, that represents the device group, in the response: ```ruby -response = fcm.create(key_name: "appUser-Chris", +params = {key_name: "appUser-Chris", project_id: "my_project_id", - registration_ids: ["4", "8", "15", "16", "23", "42"]) + registration_ids: ["4", "8", "15", "16", "23", "42"]} +response = fcm.create(*params.values) ``` ### Send to Notification Key Now you can send a message to a particular `notification_key` via the `send_with_notification_key` method. This allows the server to send a single [data](https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages) payload or/and [notification](https://firebase.google.com/docs/cloud-messaging/concept-options#notifications) payload to multiple app instances (typically on multiple devices) owned by a single user (instead of sending to some registration tokens). Note: the maximum number of members allowed for a `notification_key` is 20.