Sha256: e7c188ed1cb063caf03310589de04fca65afe58fdde97cf5e3e4a647c802571c

Contents?: true

Size: 249 Bytes

Versions: 16

Compression:

Stored size: 249 Bytes

Contents

class PubnubChannel

  class << self

    def default_options
      {
        description: "PubNub Notifications"
      }
    end

    def deliver(notification, options={})
      NotifyUser::PubNub.push_notification(notification)
    end

  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
notify_user-0.3.2 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.3.1 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.1.4 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.1.3 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.1.2 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.1.1 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.30 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.29 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.28 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.27 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.26 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.25 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.24 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.23 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.22 lib/notify_user/channels/pubnub/pubnub_channel.rb
notify_user-0.0.20 lib/notify_user/channels/pubnub/pubnub_channel.rb