module NotificationHub::Channels::MobilePushNotification

Attributes

default_gateway[RW]

Public Class Methods

send_message(event_code, data, options, gateway = nil) click to toggle source
# File lib/notification_hub/channels/mobile_push_notification.rb, line 9
def send_message(event_code, data, options, gateway = nil)
        gateway ||= default_gateway                        
        "NotificationHub::Channels::MobilePushNotification::#{gateway.to_s.camelize}".constantize.send_message(event_code, data, options)
end