Module: Strava::Api::Endpoints::OAuth

Included in:
Client
Defined in:
lib/strava/api/endpoints/oauth.rb

Instance Method Summary collapse

Instance Method Details

#deauthorize(options = {}) ⇒ Object

Revoke access to an athlete’s data.



10
11
12
# File 'lib/strava/api/endpoints/oauth.rb', line 10

def deauthorize(options = {})
  Strava::Models::Authorization.new(post('deauthorize', { endpoint: Strava::OAuth.config.endpoint }.merge(options)))
end