Sha256: 48c9b93b298d3d7caf24925de62ce366392822ab9a609d6a4aa03bb9e9b5ea67

Contents?: true

Size: 441 Bytes

Versions: 14

Compression:

Stored size: 441 Bytes

Contents

namespace :cmor do
  namespace :user_area do
    desc 'Creates the user with email/password. Defaults: email: "user@example.com", password: "password"'
    task create_user: [ :environment ] do
      email = ENV.fetch('email') { 'user@example.com' }
      password = ENV.fetch('password') { 'password' }
      Cmor::UserArea::CreateDefaultUserService.call(email: email, password: password, password_confirmation: password)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cmor_user_area-0.0.60.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.59.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.58.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.57.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.56.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.55.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.54.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.53.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.52.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.51.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.50.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.49.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.48.pre lib/tasks/cmor_user_area_tasks.rake
cmor_user_area-0.0.45.pre lib/tasks/cmor_user_area_tasks.rake