2011-12-26 25 views

回答

3

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

相關問題