lib/eco/api/session/config/people.rb in eco-helpers-1.0.5 vs lib/eco/api/session/config/people.rb in eco-helpers-1.0.6

- old
+ new

@@ -37,10 +37,16 @@ def discarded_file self["discarded_file"] end + # with given a person what is the criteria of exclusion + def api_excluded + return self["api_excluded"] unless block_given? + self["api_excluded"] = Proc.new + end + # internal-external fields map def fields_mapper=(file) self["fields_mapper"] = file end @@ -54,10 +60,10 @@ end def default_usergroup self["default_usergroup"] end - + def default_schema=(name) self["default_schema"] = name end def default_schema