Method: J1App::GithubHelpers#github_raw_request

Defined in:
lib/j1_app/j1_auth_manager/helpers_github.rb

#github_raw_request(path) ⇒ Object

Send a V3 API GET request to path

path - the path on api.github.com to hit

Returns a rest client response object

Examples

github_raw_request("/user")
# => RestClient::Response


37
38
39
# File 'lib/j1_app/j1_auth_manager/helpers_github.rb', line 37

def github_raw_request(path)
  github_user.github_raw_request(path)
end