Method: Esi::OAuth.obtain_token
- Defined in:
- lib/esi/o_auth.rb
.obtain_token(code) ⇒ Object
16 17 18 19 20 |
# File 'lib/esi/o_auth.rb', line 16 def obtain_token(code) ActiveSupport::Notifications.instrument('esi.oauth.obtain_token') do Esi::AccessToken.new(client.auth_code.get_token(code)) end end |