Class: PubnubChannel
- Inherits:
-
Object
- Object
- PubnubChannel
- Defined in:
- lib/notify_user/channels/pubnub/pubnub_channel.rb
Class Method Summary collapse
Class Method Details
.default_options ⇒ Object
5 6 7 8 9 |
# File 'lib/notify_user/channels/pubnub/pubnub_channel.rb', line 5 def { description: "PubNub Notifications" } end |
.deliver(notification, options = {}) ⇒ Object
11 12 13 |
# File 'lib/notify_user/channels/pubnub/pubnub_channel.rb', line 11 def deliver(notification, ={}) NotifyUser::PubNub.push_notification(notification) end |