lib/eco/api/common/people/default_parsers.rb in eco-helpers-1.5.1 vs lib/eco/api/common/people/default_parsers.rb in eco-helpers-1.5.2

- old
+ new

@@ -3,10 +3,12 @@ module Common module People # Class to define a set of default attribute parsers class DefaultParsers < PersonParser + autoloads_children_of "Eco::API::Common::Loaders::Parser" + autoload_namespace "Eco::API::Common::People::DefaultParsers" def initialize(*args) super(*args) define_defaults end @@ -22,22 +24,10 @@ [fld.alt_id, options_hash] end end.compact.to_h SelectParser.new(self, select_hashes: select_hashes).process - BooleanParser.new(self).process - NumericParser.new(self).process - DateParser.new(self).process - MultiParser.new(self).process - - # ALWAYS PRESENT FIELDS - SendInvitesParser.new(self).process - FreemiumParser.new(self).process - PolicyGroupsParser.new(self).process - - # FORMAT PARSER - CSVParser.new(self).process end end end end @@ -50,6 +40,7 @@ require_relative 'default_parsers/date_parser' require_relative 'default_parsers/multi_parser' require_relative 'default_parsers/send_invites_parser' require_relative 'default_parsers/freemium_parser' require_relative 'default_parsers/policy_groups_parser' +require_relative 'default_parsers/login_providers_parser' require_relative 'default_parsers/csv_parser'