Sha256: 915e9ed8793eec82810c1370ed67553067ad8d93ff398a3f2d896a0bed3060ad

Contents?: true

Size: 497 Bytes

Versions: 19

Compression:

Stored size: 497 Bytes

Contents

module Eco
  module API
    module UseCases
      class DefaultCases
        class DeleteCase < BaseCase

          def process
            @cases.define("delete", type: :transform) do |people, session|
              delete = session.job_group("main").new("delete", type: :delete, sets: [:core, :details, :account])
              people.map do |person|
                delete.add(person)
              end
            end
          end

        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
eco-helpers-0.8.1 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.7.2 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.7.1 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.17 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.16 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.15 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.13 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.12 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.11 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.9 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.8 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.7 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.6 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.5 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.4 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.3 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.2 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.1 lib/eco/api/usecases/default_cases/delete_case.rb
eco-helpers-0.6.0 lib/eco/api/usecases/default_cases/delete_case.rb