app/models/github_model.rb
# Internal: Make a GitHub API request for a resource
#
# id      - The Interger id of the resource on GitHub
# options - A Hash of options to pass (optional).
#
# Returns a Sawyer::Resource or nil if an error occured.
Make a GitHub API request for a resource
id      - The Interger id of the resource on GitHub
options - A Hash of options to pass (optional).

Returns a Sawyer::Resource or nil if an error occured.
Make a GitHub API request for a resource id - The Interger id of the resource on GitHub options - A Hash of options to pass ( optional ) . Returns a Sawyer :: Resource or nil if an error occured .
def github_classroom_request(id, **options)
    GitHub::Errors.with_error_handling do
      GitHubClassroom.github_client.send(github_type, id, options)
    end
  rescue GitHub::Error
    nil
  end
def github_classroom_request ( id , ** options ) GitHub :: Errors . with_error_handling do GitHubClassroom . github_client . send ( github_type , id , options ) end rescue GitHub :: Error nil end
Internal: Make a GitHub API request for a resource
id      - The Interger id of the resource on GitHub
options - A Hash of options to pass (optional).
Internal : Make a GitHub API request for a resource id - The Interger id of the resource on GitHub options - A Hash of options to pass ( optional ) .
id
<not_specific>
options
<not_specific>