Class: Keinaufwand::Sync::WebhookReceipt
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Keinaufwand::Sync::WebhookReceipt
- Defined in:
- lib/keinaufwand/sync_core/webhook_receipt.rb
Class Method Summary collapse
Class Method Details
.latest_source_updated_at(resource_type, resource_id) ⇒ Object
8 9 10 |
# File 'lib/keinaufwand/sync_core/webhook_receipt.rb', line 8 def self.latest_source_updated_at(resource_type, resource_id) where(resource_type: resource_type, resource_id: resource_id).maximum(:source_updated_at) end |