0
https://github.com/logankoester/pusher-clientconfig/initializers/
のレール初期設定にどのように設定できますか?PusherClientをRailsの初期化子に設定するにはどうしたらいいですか?
https://github.com/logankoester/pusher-clientconfig/initializers/
のレール初期設定にどのように設定できますか?PusherClientをRailsの初期化子に設定するにはどうしたらいいですか?
、のようなものconfig/initialisers
にpusher.rb
というファイルを作成し、そこにあなたのプッシャーの設定を追加します:宝石用
Pusher.app_id = 'your-pusher-app-id'
Pusher.key = 'your-pusher-key'
Pusher.secret = 'your-pusher-secret'
フルドキュメントは、ここで見つけることができます:http://rubydoc.info/github/pusher/pusher-gem/master/frames