Class: PagerTree::Integrations::OutgoingWebhookDelivery

Inherits:
Object
  • Object
show all
Defined in:
app/models/pager_tree/integrations/outgoing_webhook_delivery.rb

Direct Known Subclasses

HookRelay

Defined Under Namespace

Classes: HookRelay

Constant Summary collapse

HTTP_OPTIONS =
{
  headers: {"Content-Type": "application/json"},
  timeout: 15
}

Class Method Summary collapse

Class Method Details

.factory(**params) ⇒ Object



18
19
20
# File 'app/models/pager_tree/integrations/outgoing_webhook_delivery.rb', line 18

def self.factory(**params)
  PagerTree::Integrations.outgoing_webhook_delivery_factory_class.constantize.new(**params)
end