class NotificationHub::Channels::Sms::Base

Attributes

gateway_code[RW]
gateway_options[RW]

Public Class Methods

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