Method: MailChimp3::OAuth#complete_auth
- Defined in:
- lib/mailchimp3/oauth.rb
#complete_auth(code, redirect_uri:) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/mailchimp3/oauth.rb', line 20 def complete_auth(code, redirect_uri:) token = @oauth.auth_code.get_token( code, redirect_uri: redirect_uri ) { token: token, token_string: token.token, metadata: (token) } end |