app/models/github_model.rb
# Internal: Return a GitHub API Response for an resource.
#
# client - The Octokit::Client making the request.
# id     - The Interger id for the resource.
#
# Returns an Sawyer::Resource or a Null:GitHubObject.
Return a GitHub API Response for an resource.
client - The Octokit::Client making the request.
id     - The Interger id for the resource.

Returns an Sawyer::Resource or a Null:GitHubObject.
Return a GitHub API Response for an resource . client - The Octokit :: Client making the request . id - The Interger id for the resource . Returns an Sawyer :: Resource or a Null : GitHubObject .
def github_response(client, id)
    return @response if defined?(@response)
    @response = github_client_request(client, id) || github_classroom_request(id)
    @response ||= null_github_object
  end
def github_response ( client , id ) return @response if defined? ( @response ) @response = github_client_request ( client , id ) || github_classroom_request ( id ) @response ||= null_github_object end
Internal: Return a GitHub API Response for an resource.
Internal : Return a GitHub API Response for an resource .
client
<not_specific>
id
<not_specific>