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
{{ message }}
Repository navigation
client#broadcast has no support for optional channel described in the api #8
https://zeropush.readme.io/v1.5/docs/broadcast
says there is an optional channel with a broadcast. but the client.rb file looks like it does not supply a channel. I could monkey-patch my code or take a stab at making a PR for this
The broadcast method on the client takes a hash of params and does the 'right' thing with them. If you pass a channel in the params it will get encoded correctly and the API will broadcast to only those devices. Your code should look something like the following:
Activity
adamvduke commentedon May 10, 2015
Hey @richardwan,
The broadcast method on the client takes a hash of params and does the 'right' thing with them. If you pass a channel in the params it will get encoded correctly and the API will broadcast to only those devices. Your code should look something like the following:
Does that make sense?