Sha256: bc85bf1cb91253398305e2cfffa13fd6869fc0795c708813cfb805c0087cd702

Contents?: true

Size: 275 Bytes

Versions: 7

Compression:

Stored size: 275 Bytes

Contents

namespace :carrier_service do
  desc 'Synchronise carrier service across all installed shops.'
  task sync: :environment do
    DiscoApp::Shop.installed.has_active_shopify_plan.each do |shop|
      DiscoApp::SynchroniseCarrierServiceJob.perform_later(shop)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.17.0 lib/tasks/carrier_service.rake
disco_app-0.18.0 lib/tasks/carrier_service.rake
disco_app-0.18.2 lib/tasks/carrier_service.rake
disco_app-0.18.3 lib/tasks/carrier_service.rake
disco_app-0.18.6 lib/tasks/carrier_service.rake
disco_app-0.18.4 lib/tasks/carrier_service.rake
disco_app-0.18.1 lib/tasks/carrier_service.rake