Method: Webhookdb::Replicator::Base#backfill_not_supported_message
- Defined in:
- lib/webhookdb/replicator/base.rb
#backfill_not_supported_message ⇒ Object
When backfilling is not supported, this message is used. It can be overridden for custom explanations, or descriptor#documentation_url can be provided, which will use a default message. If no documentation is available, a fallback message is used.
276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/webhookdb/replicator/base.rb', line 276 def du = self.documentation_url if du.blank? msg = %(Sorry, you cannot backfill this integration. You may be looking for one of the following: webhookdb integrations reset #{self.service_integration.table_name} ) return msg end msg = %(Sorry, you cannot manually backfill this integration. Please refer to the documentation at #{du} for information on how to refresh data.) return msg end |