Class: BridgeCache::Tagging
- Inherits:
-
BridgeBaseModel
- Object
- ActiveRecord::Base
- BridgeBaseModel
- BridgeCache::Tagging
- Extended by:
- Data::BridgeModel
- Defined in:
- app/models/bridge_cache/tagging.rb
Class Method Summary collapse
Methods included from Data::BridgeModel
adjusted_table_name, cleanup, create_from_csv_row, extended, for_domain, import_from_csv, is_active?, webhook_completed, webhook_created, webhook_deleted, webhook_updated
Methods inherited from BridgeBaseModel
#adjusted_table_name, #bridge_id
Class Method Details
.cleanup(current_row_ids) ⇒ Object
8 9 10 |
# File 'app/models/bridge_cache/tagging.rb', line 8 def self.cleanup(current_row_ids) BridgeCache::Tagging.where.not(bridge_id: current_row_ids).destroy_all end |