Module: Slack::Web::Api::Endpoints::OauthV2
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/oauth_v2.rb
Instance Method Summary collapse
-
#oauth_v2_access(options = {}) ⇒ Object
Exchanges a temporary OAuth verifier code for an access token.
Instance Method Details
#oauth_v2_access(options = {}) ⇒ Object
Exchanges a temporary OAuth verifier code for an access token.
22 23 24 25 |
# File 'lib/slack/web/api/endpoints/oauth_v2.rb', line 22 def oauth_v2_access( = {}) throw ArgumentError.new('Required arguments :code missing') if [:code].nil? post('oauth.v2.access', ) end |