lib/eco/api/session/config.rb in eco-helpers-2.0.57 vs lib/eco/api/session/config.rb in eco-helpers-2.0.58
- old
+ new
@@ -295,9 +295,14 @@
# Set the **default schema** this `api` org configuration should work on.
def default_schema=(name)
people.default_schema = name
end
+ # Set the **default login method** that users should acquire.
+ def default_login_method=(name)
+ people.default_login_method = name
+ end
+
# @see Eco::API::Session::Config::People
# @param (see Eco::API::Session::Config::People)
# @return [Eco::API::Common::People::PersonParser] parser/serializer for the defined `format`.
def person_parser(format: :csv, &block)
people.parser(format: format, &block)