Class: Webhookdb::Jobs::CreateMirrorTable
- Inherits:
-
Object
- Object
- Webhookdb::Jobs::CreateMirrorTable
- Extended by:
- Async::Job
- Defined in:
- lib/webhookdb/jobs/create_mirror_table.rb
Instance Method Summary collapse
Methods included from Async::Job
Instance Method Details
#_perform(event) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/webhookdb/jobs/create_mirror_table.rb', line 11 def _perform(event) sint = self.lookup_model(Webhookdb::ServiceIntegration, event) self.(sint.) do svc = Webhookdb::Replicator.create(sint) svc.create_table(if_not_exists: true) end end |