Skip to content

Commit bc39df5

Browse files
committed
Remove "Generic API" from README
1 parent 5346547 commit bc39df5

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,27 +129,13 @@ This will continue to work, but has been replaced by `Pusher.trigger` which supp
129129

130130
This gem provides methods for accessing information from the [Pusher REST API](https://pusher.com/docs/rest_api). The documentation also shows an example of the responses from each of the API endpionts.
131131

132-
The following methods are provided by the gem. If you wish to query an API endpoint that doesn't have a specific method read on to learn how to make generic request to the REST API.
132+
The following methods are provided by the gem.
133133

134134
- `Pusher.channel_info('channel_name')` returns information about that channel.
135135

136-
- `Pusher.channels` returns information about all the channels in your Pusher application.
137-
138-
### Generic requests to the Pusher REST API
139-
140-
Aside from triggering events, the REST API also supports a number of operations for querying the state of the system. A reference of the available methods is available at <http://pusher.com/docs/rest_api>.
136+
- `Pusher.channel_users('channel_name')` returns a list of all the users subscribed to the channel.
141137

142-
All requests must be signed by using your secret key, which is handled automatically using these methods:
143-
144-
``` ruby
145-
# using the Pusher class
146-
Pusher.get('url_without_app_id', params)
147-
148-
# using a client
149-
pusher_client.post('url_without_app_id', params)
150-
```
151-
152-
Note that you don't need to specify your app_id in the URL, as this is inferred from your credentials.
138+
- `Pusher.channels` returns information about all the channels in your Pusher application.
153139

154140
### Asynchronous requests
155141

0 commit comments

Comments
 (0)