- You can test live demo on (https://internsvalleytaskturbo.herokuapp.com/)
- I know puting master.key on the repo is incorrect but for the one who gonna check the task if he wanted to run it locally then this gonna make things easier.
INSTRUCTIONS
1- git clone https://github.com/AmrAdelKhalil/ruby_task.git
2- change directory to the repo cd ruby_task
3- run bundle
4- open http://localhost:3000
To review the first task you can check commits of this branch (https://github.com/AmrAdelKhalil/ruby_task/tree/feature/verify_user_email)
#TASK2
INSTRUCTIONS
- You will find a file under
lib/project_algorithms
calledpricing_algorithm
- I considered that both
brand
andproduct_database
or objects like ActiveRecord objects, butprice_reference
is just an integer. - I consider that this module will be included to another class that responsible for calculating
calculate_price
method. - I needed to test this file but I got no models so I made a new version that could be tested under the
lib/project_algorithms/test
calledpricing_algorithm_test
.