Class: Strava::Models::Authorization

Inherits:
Response show all
Defined in:
lib/strava/models/authorization.rb

Overview

Represents an authorization deauthorization response.

This model is returned when revoking access to an athlete's data. It contains the access token that was revoked.

Examples:

Deauthorize an athlete

authorization = client.deauthorize
puts "Revoked token: #{authorization.access_token}"

See Also:

  • Api::Client#deauthorize

Instance Method Summary collapse

Instance Method Details

#access_tokenString

Returns The access token that was revoked.

Returns:

  • (String)

    The access token that was revoked



19
# File 'lib/strava/models/authorization.rb', line 19

property 'access_token'