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-8.0.0 lib/tasks/sync.rake
openstax_accounts-7.13.1 lib/tasks/sync.rake
openstax_accounts-7.13.0 lib/tasks/sync.rake
openstax_accounts-7.12.0 lib/tasks/sync.rake
openstax_accounts-7.11.0 lib/tasks/sync.rake
openstax_accounts-7.10.0 lib/tasks/sync.rake
openstax_accounts-7.9.0 lib/tasks/sync.rake
openstax_accounts-7.8.0 lib/tasks/sync.rake
openstax_accounts-7.7.0 lib/tasks/sync.rake
openstax_accounts-7.6.0 lib/tasks/sync.rake
openstax_accounts-7.5.0 lib/tasks/sync.rake
openstax_accounts-7.4.0 lib/tasks/sync.rake
openstax_accounts-7.3.0 lib/tasks/sync.rake
openstax_accounts-7.2.0 lib/tasks/sync.rake
openstax_accounts-7.1.0 lib/tasks/sync.rake
openstax_accounts-7.0.1 lib/tasks/sync.rake
openstax_accounts-7.0.0 lib/tasks/sync.rake
openstax_accounts-6.4.2 lib/tasks/sync.rake
openstax_accounts-6.4.1 lib/tasks/sync.rake
openstax_accounts-6.4.0 lib/tasks/sync.rake