Sha256: 13fdfa5f3c7675069845db74a18e5b8b0d9d62101c2bc6cf7e24cc92d6217bdc

Contents?: true

Size: 367 Bytes

Versions: 7

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Api
    module Endpoints
      module OAuth
        #
        # Revoke access to an athlete's data.
        #
        def deauthorize(options = {})
          Strava::Models::Authorization.new(post('deauthorize', { endpoint: Strava::OAuth.config.endpoint }.merge(options)))
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
strava-ruby-client-2.2.0 lib/strava/api/endpoints/oauth.rb
strava-ruby-client-2.1.0 lib/strava/api/endpoints/oauth.rb
strava-ruby-client-2.0.0 lib/strava/api/endpoints/oauth.rb
strava-ruby-client-1.1.0 lib/strava/api/endpoints/oauth.rb
strava-ruby-client-1.0.1 lib/strava/api/endpoints/oauth.rb
strava-ruby-client-1.0.0 lib/strava/api/endpoints/oauth.rb
strava-ruby-client-0.4.3 lib/strava/api/endpoints/oauth.rb