Module: Authkeeper::VkAdsAuthApi::Requests::Info
- Included in:
- Client
- Defined in:
- app/lib/authkeeper/vk_ads_auth_api/requests/info.rb
Instance Method Summary collapse
Instance Method Details
#info(code:, client_id:, client_secret:) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'app/lib/authkeeper/vk_ads_auth_api/requests/info.rb', line 7 def info(code:, client_id:, client_secret:) form_post( path: 'code_info', body: { access_token: access_token, client_id: client_id, client_secret: client_secret }, headers: { 'Content-Type' => 'application/x-www-form-urlencoded' } ) end |