You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will continue to work, but has been replaced by `Pusher.trigger` which supports one or multiple channels.
127
127
128
+
### Using the Pusher REST API
129
+
130
+
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.
131
+
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.
133
+
134
+
-`Pusher.channel_info('channel_name')` returns information about that channel.
135
+
136
+
-`Pusher.channels` returns information about all the channels in your Pusher application.
137
+
128
138
### Generic requests to the Pusher REST API
129
139
130
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>.
0 commit comments