Method: Webhookdb::Replicator::Base#upsert_webhook

Defined in:
lib/webhookdb/replicator/base.rb

#upsert_webhook(request, **kw) ⇒ Object

Upsert a webhook request into the database. Note this is a WebhookRequest, NOT a Rack::Request.



651
652
653
654
655
656
# File 'lib/webhookdb/replicator/base.rb', line 651

def upsert_webhook(request, **kw)
  return self._upsert_webhook(request, **kw)
rescue StandardError => e
  self.logger.error("upsert_webhook_error", request: request.as_json, error: e)
  raise
end