Class: Strava::Models::DetailedPhotos
- Inherits:
-
Response
- Object
- Hashie::Trash
- Strava::Model
- Response
- Strava::Models::DetailedPhotos
- Defined in:
- lib/strava/models/detailed_photos.rb
Overview
Note:
This model is not documented by Strava API documentation. Properties are inferred from API responses.
Represents detailed photo information for an activity.
Contains the primary photo and total photo count for an activity. This model is not documented in the official Strava API reference.
Instance Method Summary collapse
-
#count ⇒ Integer?
Total number of photos attached to the activity.
-
#primary ⇒ Photo?
The primary/featured photo for the activity.
-
#use_primary_photo ⇒ Boolean?
Whether to use the primary photo for display.
Instance Method Details
#count ⇒ Integer?
Note:
Not documented by Strava API
Returns Total number of photos attached to the activity.
37 |
# File 'lib/strava/models/detailed_photos.rb', line 37 property 'count' |
#primary ⇒ Photo?
Note:
Not documented by Strava API
Returns The primary/featured photo for the activity.
29 |
# File 'lib/strava/models/detailed_photos.rb', line 29 property 'primary', transform_with: ->(v) { Strava::Models::Photo.new(v) } |
#use_primary_photo ⇒ Boolean?
Note:
Not documented by Strava API
Returns Whether to use the primary photo for display.
33 |
# File 'lib/strava/models/detailed_photos.rb', line 33 property 'use_primary_photo' |