module Slack::Web::Api::Endpoints::Oauth

def oauth_access(options = {})

Other tags:
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/oauth.access.json -
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/oauth.access.md -
    See: https://api.slack.com/methods/oauth.access -

Options Hash: (**options)
  • :redirect_uri (Object) --
  • :code (Object) --
  • :client_secret (Object) --
  • :client_id (Object) --
def oauth_access(options = {})
  throw ArgumentError.new('Required arguments :client_id missing') if options[:client_id].nil?
  throw ArgumentError.new('Required arguments :client_secret missing') if options[:client_secret].nil?
  throw ArgumentError.new('Required arguments :code missing') if options[:code].nil?
  post('oauth.access', options)
end