Refactor method to return the week of sleep hours and quality
Closed this issue · 0 comments
hfaerber commented
Sleep
returnWeekOfSleepHours(week)
returnWeekOfSleepQuality(week)
We can refactor into one method that takes 'metric' as a parameter.
We also might be able to apply this refactored method to Hydration's returnWeeklyNumOunces() as well even though its written a little differently right now