module

Octokit::Connection

Inherits Octokit::Authentication

Constants

CONVENIENCE_HEADERS = Set {"accept", "content_type"}

Header keys that can be passed in options hash to {#get},{#head}

Instance methods

agent

Hypermedia agent for the GitHub API

Source
delete(url, options = nil)

Make a HTTP DELETE request

Source
get(url, options = nil)

Make a HTTP GET request

Source
head(url, options = nil)

Make a HTTP HEAD request

Source
last_response

Response for last HTTP request

Source
paginate(klass : T.class, url : String, *, start_page = nil, per_page = nil, auto_paginate = @auto_paginate, options = nil) : Paginator(T) forall T

Make one or more HTTP GET requests, optionally fetching the next page of results from URL in Link response header based on value in #auto_paginate.

Source
paginate(klass : T.class, url : String, *, start_page = nil, per_page = nil, auto_paginate = @auto_paginate, options = nil, &)

ditto

Source
patch(url, options = nil)

Make a HTTP PATCH request

Source
post(url, options = nil)

Make a HTTP POST request

Source
put(url, options = nil)

Make a HTTP PUT request

Source
root

Fetch the root resource for the API

Source

Nested types