Sha256: 8e1761bbaca1e16fd42edc1ced6af5839004c382a46e0b438cb8149a08a34d5c

Contents?: true

Size: 246 Bytes

Versions: 42

Compression:

Stored size: 246 Bytes

Contents

namespace :shops do

  desc 'Synchronise shop data across all installed shops.'
  task sync: :environment do
    DiscoApp::Shop.installed.has_active_shopify_plan.each do |shop|
      DiscoApp::ShopUpdateJob.perform_later(shop)
    end
  end

end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
disco_app-0.14.0 lib/tasks/shops.rake
disco_app-0.13.6.pre.puma.pre.3 lib/tasks/shops.rake