Skip to content

Commit 279c783

Browse files
committed
Add description to club event model
1 parent ce6f4ad commit 279c783

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### 2.2.1 (Next)
22

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

55
### 2.2.0 (2024/9/17)
66

lib/strava/models/club_event.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class ClubEvent < Strava::Models::Response
66
property 'id'
77
property 'resource_state'
88
property 'title'
9+
property 'description'
910
property 'club_id'
1011
property 'club', transform_with: ->(c) { Strava::Models::Club.new(c) }
1112
property 'organizing_athlete', transform_with: ->(oa) { Strava::Models::Athlete.new(oa) }

spec/strava/api/client/endpoints/clubs/club_events_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
event = club_events.first
1212
expect(event.women_only).to be_a FalseClass
1313
expect(event.private).to be_a FalseClass
14+
expect(event.description).to be_a String
1415
expect(event.resource_state).to be_a Integer
1516
expect(event.club_id).to be_a Integer
1617
expect(event.skill_levels).to be_a Integer

0 commit comments

Comments
 (0)