Method: Webhookdb::Replicator::Base#_resource_to_data
- Defined in:
- lib/webhookdb/replicator/base.rb
#_resource_to_data(resource, event, request, enrichment) ⇒ Hash
Given the resource, return the value for the :data column. Only needed in rare situations where fields should be stored on the row, but not in :data. To skip :data column updates, return nil.
825 826 827 |
# File 'lib/webhookdb/replicator/base.rb', line 825 def _resource_to_data(resource, event, request, enrichment) return resource end |