Class: Strava::Model
- Inherits:
-
Hashie::Trash
- Object
- Hashie::Trash
- Strava::Model
- Includes:
- Hashie::Extensions::IgnoreUndeclared
- Defined in:
- lib/strava/models/model.rb
Overview
Base model class for all Strava models.
This class extends Hashie::Trash to provide a flexible data structure for Strava API responses. All model classes in the library inherit from this.
Features:
- Ignores undeclared properties from API responses
- Provides hash-like access to properties
- Supports property transformations