Module: Authkeeper::YandexApi::Requests::Info

Included in:
Client
Defined in:
app/lib/authkeeper/yandex_api/requests/info.rb

Instance Method Summary collapse

Instance Method Details

#info(access_token:) ⇒ Object



7
8
9
10
11
12
# File 'app/lib/authkeeper/yandex_api/requests/info.rb', line 7

def info(access_token:)
  get(
    path: 'info',
    headers: { 'Authorization' => "OAuth #{access_token}" }
  )
end