Sha256: d2b876c765917cd4f9e820d44b03bfde82fd78a163c9c1310f7c738c8f3cf7de
Contents?: true
Size: 560 Bytes
Versions: 8
Compression:
Stored size: 560 Bytes
Contents
module BridgeCache::Jobs class ImportStart < ActiveJob::Base queue_as :default def perform(bridge_base_url, bridge_api_key, bridge_api_secret, models, chain = []) data = BridgeBlueprint::RemoteData.new(bridge_base_url, bridge_api_key, bridge_api_secret) data.start_data_report BridgeCache::Jobs::ImportCheck .set(queue: self.queue_name, wait: 30.seconds) .perform_later( bridge_base_url, bridge_api_key, bridge_api_secret, models, chain ) end end end
Version data entries
8 entries across 8 versions & 1 rubygems