Method: Lark::Apis::Authen#access_token
- Defined in:
- lib/lark/apis/authen.rb
#access_token(code) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/lark/apis/authen.rb', line 11 def access_token(code) request.post 'authen/v1/access_token', { code: code, app_access_token: app_access_token, grant_type: 'authorization_code' } end |