Sha256: 24200c720c7c751e308707037c4ac15b54205d9fd5533b4fe039a039960f0715

Contents?: true

Size: 478 Bytes

Versions: 31

Compression:

Stored size: 478 Bytes

Contents

namespace :openstax do
  namespace :accounts do
    namespace :sync do
      desc "Sync Accounts with OpenStax Accounts"
      task :accounts => :environment do
        OpenStax::Accounts::SyncAccounts.call
      end

      desc "Sync Groups with OpenStax Accounts"
      task :groups => :environment do
        OpenStax::Accounts::SyncGroups.call
      end

      desc "Sync Accounts and Groups with OpenStax Accounts"
      task :all => [:accounts, :groups]
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
openstax_accounts-6.3.2 lib/tasks/sync.rake
openstax_accounts-6.3.1 lib/tasks/sync.rake
openstax_accounts-6.3.0 lib/tasks/sync.rake
openstax_accounts-6.2.0 lib/tasks/sync.rake
openstax_accounts-6.1.7 lib/tasks/sync.rake
openstax_accounts-6.1.6 lib/tasks/sync.rake
openstax_accounts-6.1.5 lib/tasks/sync.rake
openstax_accounts-6.1.4 lib/tasks/sync.rake
openstax_accounts-6.1.3 lib/tasks/sync.rake
openstax_accounts-6.1.2 lib/tasks/sync.rake
openstax_accounts-6.1.1 lib/tasks/sync.rake