lib/eco/api/session/batch/job.rb in eco-helpers-2.6.4 vs lib/eco/api/session/batch/job.rb in eco-helpers-2.7.0

- old
+ new

@@ -91,10 +91,10 @@ def options usecase?? usecase.options : {} end # Adds an entry(ies) to the job queue. - # @param entry [Ecoportal::API::V1::Person, Enumberable<Person>] the person(s) we want to update, carrying the changes to be done. + # @param entry [Ecoportal::API::V1::Person, Enumerable<Person>] the person(s) we want to update, carrying the changes to be done. # @param unique [Boolean] specifies if repeated entries should be avoided in the queue. # @yield [person] callback before launching the batch job request against the server. # @yieldparam person [Person] current person object that that should be treated by the callback before launching the batch. # @return [Eco::API::Session::Batch::Job] this `Batch::Job`. def add(entry, unique: true, &block)