lib/eco/api/session/config.rb in eco-helpers-1.0.3 vs lib/eco/api/session/config.rb in eco-helpers-1.0.4

- old
+ new

@@ -182,9 +182,15 @@ return @schemas if instance_variable_defined?(:@schemas) schs = api&.person_schemas.to_a @schemas = Eco::API::Organization::PersonSchemas.new(schs) end + def login_providers + return @login_providers if instance_variable_defined?(:@login_providers) + provs = api&.login_providers.to_a + @login_providers = Eco::API::Organization::LoginProviders.new(provs) + end + def session @session ||= Eco::API::Session.new(self) end # PEOPLE