Method: ContextIO::OAuthProvider#destroy

Defined in:
lib/context-io/oauth_provider.rb

#destroytrue, false

Destroy the OAuth provider

Returns:

  • (true, false)

    Whether the destroy was successful or not.



59
60
61
# File 'lib/context-io/oauth_provider.rb', line 59

def destroy
  delete("/2.0/oauth_providers/#@consumer_key")['success']
end