app/models/github_model.rb
# Internal: Make a GitHub API request for a resource.
#
# client  - The Octokit::Client making the request.
# id      - The Interger id of the resource on GitHub.
# options - A Hash of options to pass (optional).
#
# Returns a Sawyer::Resource or raises and error.
Make a GitHub API request for a resource.
client  - The Octokit::Client making the request.
id      - The Interger id of the resource on GitHub.
options - A Hash of options to pass (optional).

Returns a Sawyer::Resource or raises and error.
Make a GitHub API request for a resource . client - The Octokit :: Client making the request . id - The Interger id of the resource on GitHub . options - A Hash of options to pass ( optional ) . Returns a Sawyer :: Resource or raises and error .
def github_client_request(client, id, **options)
    GitHub::Errors.with_error_handling { client.send(github_type, id, options) }
  rescue GitHub::Error
    nil
  end
def github_client_request ( client , id , ** options ) GitHub :: Errors . with_error_handling { client . send ( github_type , id , options ) } rescue GitHub :: Error nil end
Internal: Make a GitHub API request for a resource.
Internal : Make a GitHub API request for a resource .
client
<not_specific>
id
<not_specific>
options
<not_specific>