lib/eco/api/common/people/entry_factory.rb in eco-helpers-1.0.13 vs lib/eco/api/common/people/entry_factory.rb in eco-helpers-1.0.14

- old
+ new

@@ -1,12 +1,14 @@ module Eco module API module Common module People + # Helper factory class to generate entries (input entries). + # @attr_reader schema [Ecoportal::API::V1::PersonSchema] person schema to be used in this entry factory # @attr_reader person_parser [Eco::API::Common::People::PersonParser] set of attribute, type and format parsers/serializers. class EntryFactory - attr_reader :person_parser + attr_reader :schema, :person_parser # @param schema [Ecoportal::API::V1::PersonSchema] schema of person details that the parser will be based upon. # @param person_parser [nil, Eco::API::Common::People::PersonParser] set of attribute, type and format parsers/serializers. # @param attr_map [nil, Eco::Data::Mapper] attribute names mapper to translate external names into internal ones and _vice versa_. # @param logger [Common::Session::Logger, ::Logger] object to manage logs.