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.16.1.pre.sidekiq.pre.6.pre.release lib/tasks/shops.rake
disco_app-0.9.4 lib/tasks/shops.rake
disco_app-0.9.5 lib/tasks/shops.rake
disco_app-0.9.6 lib/tasks/shops.rake
disco_app-0.9.7 lib/tasks/shops.rake
disco_app-0.9.8 lib/tasks/shops.rake
disco_app-0.9.9 lib/tasks/shops.rake
disco_app-0.9.10 lib/tasks/shops.rake
disco_app-0.9.11 lib/tasks/shops.rake
disco_app-0.10.0 lib/tasks/shops.rake
disco_app-0.10.1 lib/tasks/shops.rake
disco_app-0.10.2 lib/tasks/shops.rake
disco_app-0.10.3 lib/tasks/shops.rake
disco_app-0.10.4 lib/tasks/shops.rake
disco_app-0.10.5 lib/tasks/shops.rake
disco_app-0.11.0 lib/tasks/shops.rake
disco_app-0.11.1 lib/tasks/shops.rake
disco_app-0.12.0 lib/tasks/shops.rake
disco_app-0.12.1 lib/tasks/shops.rake
disco_app-0.12.5 lib/tasks/shops.rake