Class: Adcloud::WebhookConfig
- Inherits:
-
ActiveSupport::Configurable::Configuration
- Object
- ActiveSupport::Configurable::Configuration
- Adcloud::WebhookConfig
- Defined in:
- lib/adcloud/webhook_config.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ WebhookConfig
constructor
A new instance of WebhookConfig.
Constructor Details
#initialize ⇒ WebhookConfig
Returns a new instance of WebhookConfig.
3 4 5 6 7 8 |
# File 'lib/adcloud/webhook_config.rb', line 3 def initialize Adcloud::Webhook::ALL.each do |hook| self.send("#{hook}=", WebhookConfig.method(:unused_webhook)) end self.on_unknown_webhook = WebhookConfig.method(:unknown_webhook) end |