Please see pushr-core for more information.
Redis:
Pushr::ConfigurationWns.create(app: 'app_name', connections: 2, enabled: true, client_id: '<client_id>', client_secret: '<client_secret>)
YAML:
- type: Pushr::ConfigurationWns
app: wns-app
enabled: true
connections: 1
client_id: client_id_here
client_secret: client_secret_here
WNS:
Pushr::MessageWns.create(
app: 'test', channel_uri: 'https://db3.notify.windows.com/?token=token',
data: '<toast launch=""><visual lang="en-US"><binding template="ToastImageAndText01"><image id="1" '\
'src="World" /><text id="1">Hello</text></binding></visual></toast>',
content_type: 'text/xml', x_wns_type: 'wns/toast')