Skip to content

Commit 2293bbb

Browse files
committed
Refactor README to improve Table of Contents structure and update event model reference from 'object_id' to 'id'
1 parent 1e8e1ae commit 2293bbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Strava Ruby Client
1+
# Strava Ruby Client<!-- omit in toc -->
22

33
[![Gem Version](https://badge.fury.io/rb/strava-ruby-client.svg)](https://badge.fury.io/rb/strava-ruby-client)
44
[![Test](https://github.com/dblock/strava-ruby-client/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/dblock/strava-ruby-client/actions/workflows/test.yml)
@@ -7,7 +7,7 @@ A complete Ruby client for the [Strava API v3](https://developers.strava.com).
77

88
Unlike other clients, including [strava-api-v3](https://github.com/jaredholdcroft/strava-api-v3), provides complete OAuth refresh token flow support, webhooks support, a richer first class interface to Strava models, conversion helpers for distance, time and elevation, natively supports pagination, implements more consistent error handling and is built with thorough test coverage using actual Strava data.
99

10-
## Table of Contents
10+
## Table of Contents<!-- omit in toc -->
1111

1212
- [Installation](#installation)
1313
- [Usage](#usage)
@@ -895,7 +895,7 @@ event = Strava::Webhooks::Models::Event.new(JSON.parse(request.body))
895895

896896
event # => Strava::Webhooks::Models::Event
897897
event.object_type # => 'activity'
898-
event.object_id # => 1991813808
898+
event.id # => 1991813808
899899
event.aspect_type # => 'update'
900900
event.updates # => { 'sport_type' => 'Walk' }
901901
event.owner_id # => 29323238

0 commit comments

Comments
 (0)