bundle
ruby questionnaire.rb
Current implementation separate on two sides: UserQuestionnaireService and StoreService. UserQuestionnaireService is responsible for the working with user questions:
- processing answers
- counting ratings
StoreService is responsible for the working with pstore:
- saving in file
- getting data from file
- getting keys/values etc. I tried to make this service without relying on this task. So that in the future it could be reused for various purposes.