We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b3b02 commit 7487db2Copy full SHA for 7487db2
README.md
@@ -24,6 +24,8 @@ After registering at <http://pusher.com> configure your app with the security cr
24
Creating a new Pusher `client` can be done as follows.
25
26
``` ruby
27
+require 'pusher'
28
+
29
pusher_client = Pusher::Client.new(
30
app_id: 'your-app-id',
31
key: 'your-app-key',
@@ -36,6 +38,8 @@ The cluster value will set the `host` to `api-<cluster>.pusher.com`.
36
38
If you want to set a custom `host` value for your client then you can do so when instantiating a Pusher client like so:
37
39
40
41
42
43
44
45
0 commit comments