lib/eco/api/session/config/people.rb in eco-helpers-2.5.10 vs lib/eco/api/session/config/people.rb in eco-helpers-2.6.0

- old
+ new

@@ -46,12 +46,12 @@ def discarded_file self["discarded_file"] end # with given a person what is the criteria of exclusion - def api_excluded + def api_excluded(&block) return self["api_excluded"] unless block_given? - self["api_excluded"] = Proc.new + self["api_excluded"] = block end # internal-external fields map def fields_mapper=(file) self["fields_mapper"] = file