Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 2.2.1 (Next)

* [#86](https://github.com/dblock/strava-ruby-client/pull/86): Add description to club event model - [@tobiaszwaszak](https://github.com/tobiaszwaszak).
* Your contribution here.

### 2.2.0 (2024/9/17)
Expand Down
1 change: 1 addition & 0 deletions lib/strava/models/club_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class ClubEvent < Strava::Models::Response
property 'id'
property 'resource_state'
property 'title'
property 'description'
property 'club_id'
property 'club', transform_with: ->(c) { Strava::Models::Club.new(c) }
property 'organizing_athlete', transform_with: ->(oa) { Strava::Models::Athlete.new(oa) }
Expand Down
1 change: 1 addition & 0 deletions spec/strava/api/client/endpoints/clubs/club_events_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
event = club_events.first
expect(event.women_only).to be_a FalseClass
expect(event.private).to be_a FalseClass
expect(event.description).to be_a String
expect(event.resource_state).to be_a Integer
expect(event.club_id).to be_a Integer
expect(event.skill_levels).to be_a Integer
Expand Down