lib/eco/api/usecases/default_cases/create_case.rb in eco-helpers-0.9.2 vs lib/eco/api/usecases/default_cases/create_case.rb in eco-helpers-0.9.3
- old
+ new
@@ -1,9 +1,9 @@
module Eco
module API
- module UseCases
+ class UseCases
class DefaultCases
- class CreateCase < UseCases::BaseCase
+ class CreateCase < DefaultCase
def process
@cases.define("create", type: :sync) do |entries, people, session, options, usecase|
creation = session.job_group("main").new("create", usecase: usecase, type: :create, sets: [:core, :details, :account])