Method: Webhookdb::Replicator::Base#upsert_webhook_body
- Defined in:
- lib/webhookdb/replicator/base.rb
#upsert_webhook_body(body, **kw) ⇒ Object
Upsert webhook using only a body. This is not valid for the rare integration which does not rely on request info, like when we have to take different action based on a request method.
643 644 645 |
# File 'lib/webhookdb/replicator/base.rb', line 643 def upsert_webhook_body(body, **kw) return self.upsert_webhook(Webhookdb::Replicator::WebhookRequest.new(body:), **kw) end |