class NotificationHub::Channels::BrowserPushNotification::Base

Attributes

gateway_code[RW]
gateway_options[RW]

Public Class Methods

new(options) click to toggle source
# File lib/notification_hub/channels/browser_push_notification/base.rb, line 5
       def initialize(options)     
               BrowserPushNotification.default_gateway = self.class.gateway_code
       options[:template_path] ||= "notification_hub/browser_push_notification"
       options[:timeout_time] ||= 10
                                self.class.gateway_options = options                            
end