Sha256: 8a98fbff7c8b1132de886b7f44bac3183bd9ec6f0d3f2559bc44a9566be89ff4

Contents?: true

Size: 413 Bytes

Versions: 109

Compression:

Stored size: 413 Bytes

Contents

class Eco::API::UseCases::DefaultCases::DeleteTransCase < Eco::API::Common::Loaders::UseCase
  name "delete"
  type :transform

  def delete(people, session, options, usecase)
    delete   = session.new_job("main", "delete", :delete, usecase)
    people.each {|person| delete.add(person)}
  end

  def main(people, session, options, usecase)
    delete(people, session, options, usecase)
  end

end

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
eco-helpers-1.5.10 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.9 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.8 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.7 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.6 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.5 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.4 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.3 lib/eco/api/usecases/default_cases/delete_trans_case.rb
eco-helpers-1.5.2 lib/eco/api/usecases/default_cases/delete_trans_case.rb