class NotificationHub::Channels::Webhook::Base

Attributes

gateway_code[RW]
gateway_options[RW]

Public Class Methods

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