Commit 933e67c3 by Victor Wang

Merge pull request #16 from u2/master

当存在多个appid时需要重新新建pusher
parents 9aaddda8 0e730c20
...@@ -21,7 +21,7 @@ module IGeTui ...@@ -21,7 +21,7 @@ module IGeTui
def_delegators :pusher, :get_content_id, :cancel_content_id def_delegators :pusher, :get_content_id, :cancel_content_id
def pusher(app_id, api_key, master_secret) def pusher(app_id, api_key, master_secret)
@pusher ||= IGeTui::Pusher.new(API_URL, app_id, api_key, master_secret) IGeTui::Pusher.new(API_URL, app_id, api_key, master_secret)
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment