lib/eco/api/session/task.rb in eco-helpers-0.6.2 vs lib/eco/api/session/task.rb in eco-helpers-0.6.3
- old
+ new
@@ -21,10 +21,10 @@
def file_people(filename = enviro.config.people.cache)
logger.info("Going to get all the people via API")
people = batch.get_people
file = file_manager.save_json(people, filename, :timestamp)
logger.info("#{people.length} people loaded and saved locally to #{file}.")
- API::Organization::People.new(people)
+ Eco::API::Organization::People.new(people)
end
def load_people(filename = enviro.config.people.cache, modifier: [:newest, :api])
modifier = [modifier].flatten
people = []