Sha256: 1d903aff056c514e4838887b141704a82bdc0243c5d6583e6b3b4c00e58c271d

Contents?: true

Size: 236 Bytes

Versions: 24

Compression:

Stored size: 236 Bytes

Contents

namespace :api do

  desc 'Send all subscription information to the Disco API'
  task send_subscriptions: :environment do
    DiscoApp::Shop.find_each do |shop|
      DiscoApp::SendSubscriptionJob.perform_later(shop)
    end
  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release lib/tasks/api.rake
disco_app-0.12.5 lib/tasks/api.rake
disco_app-0.12.6 lib/tasks/api.rake
disco_app-0.12.7 lib/tasks/api.rake
disco_app-0.13.0 lib/tasks/api.rake
disco_app-0.13.1 lib/tasks/api.rake
disco_app-0.13.2 lib/tasks/api.rake
disco_app-0.13.3 lib/tasks/api.rake
disco_app-0.13.4 lib/tasks/api.rake
disco_app-0.13.5 lib/tasks/api.rake
disco_app-0.13.6 lib/tasks/api.rake
disco_app-0.13.7 lib/tasks/api.rake
disco_app-0.13.8 lib/tasks/api.rake
disco_app-0.14.1 lib/tasks/api.rake
disco_app-0.14.2 lib/tasks/api.rake
disco_app-0.15.0 lib/tasks/api.rake
disco_app-0.16.0 lib/tasks/api.rake
disco_app-0.14.4 lib/tasks/api.rake
disco_app-0.14.3 lib/tasks/api.rake
disco_app-0.16.1 lib/tasks/api.rake