lib/eco/api/session/config.rb in eco-helpers-0.9.1 vs lib/eco/api/session/config.rb in eco-helpers-0.9.2

- old
+ new

@@ -186,9 +186,13 @@ return @schemas if instance_variable_defined?(:@schemas) schs = api&.person_schemas.to_a @schemas = Eco::API::Organization::PersonSchemas.new(schs) end + def session + @session ||= Eco::API::Session.new(self) + end + # PEOPLE def discarded_people_file=(value) people.discarded_file = value end