Skip to content

Commit 3cac5af

Browse files
committed
Rename pn_client -> beams_client in README
1 parent 2155346 commit 3cac5af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Use your instance id and secret (you can get these from the
3232
3333
from pusher_push_notifications import PushNotifications
3434
35-
pn_client = PushNotifications(
35+
beams_client = PushNotifications(
3636
instance_id='YOUR_INSTANCE_ID_HERE',
3737
secret_key='YOUR_SECRET_KEY_HERE',
3838
)
@@ -44,7 +44,7 @@ You can broadcast notifications to groups of subscribed devices using `Device In
4444

4545
.. code::
4646
47-
response = pn_client.publish_to_interests(
47+
response = beams_client.publish_to_interests(
4848
interests=['hello'],
4949
publish_body={
5050
'apns': {
@@ -70,7 +70,7 @@ Securely send notifications to individual users of your application using `Authe
7070

7171
.. code::
7272
73-
response = pn_client.publish_to_users(
73+
response = beams_client.publish_to_users(
7474
user_ids=['user-0001'],
7575
publish_body={
7676
'apns': {

0 commit comments

Comments
 (0)