Elevate Academy week 3 Assignment
Elescoot
implementing a Ruby-based system to manage the scooter fleet and its user interactions, adhering to OOP principles for robustness and effiency.
1, Scooter in 2 states; Available and Rented, and can be also marked as Broken, rendering temporarily unavailable until repair. 2, calculate present rental duration and costs. 3, designate docking station in specific areas for scooter return. 4, predefined scooter capacity in docking station. 5, user must return rented scooter before they can rent another. 6, implement method of transitions states(e.g rent, return, broken) and display current status.
Challenge #1 - a way to track information about rented scooter, the user renting it, start and end time of rental. Challenge #2 - a pricing system where rental cost vary based on peak hour and non-peak hour.
consider encapsulation, appropriate class design, clear code commenting.