lib/eco/api/common/people/person_parser.rb in eco-helpers-0.9.4 vs lib/eco/api/common/people/person_parser.rb in eco-helpers-0.9.5

- old
+ new

@@ -83,9 +83,10 @@ defined = @parsers.keys defined - (defined - all_attrs) end # Returns a list of all the internal attributes of the model that have a parser defined & that should be active. + # @param [Hash, Array<String>] # @return [Array<String>] list of all attribute defined parsers that should be active. def active_attrs(source_data) defined_attrs.select {|attr| @parsers[attr].parser_active?(source_data)} end