Method: NotificationHub::Channels::MobilePushNotification::Base#initialize

Defined in:
lib/notification_hub/channels/mobile_push_notification/base.rb

#initialize(options) ⇒ Base

Returns a new instance of Base.



5
6
7
8
9
# File 'lib/notification_hub/channels/mobile_push_notification/base.rb', line 5

def initialize(options)     
MobilePushNotification.default_gateway = self.class.gateway_code
  options[:template_path] ||= "notification_hub/mobile_push_notification"
          self.class.gateway_options = options          
end