-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for descent #54
Comments
Hi @dblock I'd like to take a shot at this, as I need to learn Ruby and am familiar with the Strava API. However, I can't think of a good spot to put a I can see two options where the user is responsible for getting the supplemental data:
Which of these would fit best with the library? Or, is this probably something that users need to be responsible for computing? |
I think we should think about it backwards. Let's start with the right interfaces at the model level first, then we can rethink where things go if they need to be in mixins. Mixins are just ways to reuse common functionality. So, which model(s) need(s) |
Okay, that makes sense. Just thinking about what each model class represents, I'll start with the others though, and see what implementing a |
If they exist on that model, yes.
👍 |
Descent is Ascent + (Start Elevation - End Elevation). Start Elevation and End Elevation can be obtained from AltitudeStream.
The text was updated successfully, but these errors were encountered: