Sha256: 085a395231589851a000da8fc89bc7ecde8258583003c0ecd541bce0c86e7c82
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Web module Api module Endpoints module OauthV2 # # Exchanges a temporary OAuth verifier code for an access token. # # @option options [Object] :code # The code param returned via the OAuth callback. # @option options [Object] :client_id # Issued when you created your application. # @option options [Object] :client_secret # Issued when you created your application. # @option options [Object] :redirect_uri # This must match the originally submitted URI (if one was sent). # @see https://api.slack.com/methods/oauth.v2.access # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/oauth.v2/oauth.v2.access.json def oauth_v2_access(options = {}) throw ArgumentError.new('Required arguments :code missing') if options[:code].nil? post('oauth.v2.access', options) end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems