Method: CIRunner::Client::Github#me

Defined in:
lib/ci_runner/client/github.rb

#meHash

Make an API request to get the authenticated user. Used to verify if the access token the user has stored in its config is valid.

Returns:

  • (Hash)

    See GitHub documentation.

See Also:



21
22
23
# File 'lib/ci_runner/client/github.rb', line 21

def me
  get("/user")
end