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:, return_raw_response: false) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/lib/authkeeper/vk_ads_auth_api/requests/info.rb', line 7 def info(code:, client_id:, client_secret:, return_raw_response: false) form_post( path: 'code_info', body: { code: code, client_id: client_id, client_secret: client_secret }, headers: { 'Content-Type' => 'application/x-www-form-urlencoded' }, return_raw_response: return_raw_response ) end |