lib/eco/api/microcases/people_search.rb in eco-helpers-3.0.4 vs lib/eco/api/microcases/people_search.rb in eco-helpers-3.0.5
- old
+ new
@@ -8,10 +8,10 @@
# @param data [Eco::API::Organization::People, Enumerable<Person>, Enumerable<Hash>]
# `People` to search against the server.
# @param options [Hash] the options.
# @param silent [Boolean] `false` if low level search messages should be shown.
# @return [Eco::API::Organization::People] the `People` object with the found persons.
- def people_search(data, options: {}, silent: true) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
+ def people_search(data, options: {}, silent: false) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
log(:info) { "Going to api get #{data.length} entries..." }
silent &&= data.count <= 500
start = Time.now