Method: Webhookdb::Replicator::Base#clear_webhook_information
- Defined in:
- lib/webhookdb/replicator/base.rb
#clear_webhook_information ⇒ Object
Remove all the information used in the initial creation of the integration so that it can be re-entered
293 294 295 296 297 298 299 |
# File 'lib/webhookdb/replicator/base.rb', line 293 def clear_webhook_information self._clear_webook_information # If we don't support both webhooks and backfilling, we are safe to clear ALL fields # and get back into an initial state. self._clear_backfill_information unless self.descriptor.supports_webhooks_and_backfill? self.service_integration.save_changes end |