Module: Github::Constants
- Extended by:
- Constants
- Included in:
- API, Connection, Constants, PageIterator, PageLinks, PagedRequest, Pagination, Response::Header
- Defined in:
- lib/github_api2/constants.rb
Constant Summary collapse
- RATELIMIT_REMAINING =
Response headers
'X-RateLimit-Remaining'.freeze
- RATELIMIT_LIMIT =
'X-RateLimit-Limit'.freeze
- RATELIMIT_RESET =
'X-RateLimit-Reset'.freeze
- CONTENT_TYPE =
'Content-Type'.freeze
- CONTENT_LENGTH =
'content-length'.freeze
- CACHE_CONTROL =
'cache-control'.freeze
- ETAG =
'ETag'.freeze
- SERVER =
'Server'.freeze
- DATE =
'Date'.freeze
- LOCATION =
'Location'.freeze
- USER_AGENT =
'User-Agent'.freeze
- ACCEPT =
'Accept'.freeze
- ACCEPT_CHARSET =
'Accept-Charset'.freeze
- OAUTH_SCOPES =
'X-OAuth-Scopes'.freeze
- ACCEPTED_OAUTH_SCOPES =
'X-Accepted-Oauth-Scopes'.freeze
- HEADER_LINK =
Link headers
"Link".freeze
- HEADER_NEXT =
"X-Next".freeze
- HEADER_LAST =
"X-Last".freeze
- META_REL =
"rel".freeze
- META_LAST =
"last".freeze
- META_NEXT =
"next".freeze
- META_FIRST =
"first".freeze
- META_PREV =
"prev".freeze
- PARAM_PAGE =
"page".freeze
- PARAM_PER_PAGE =
"per_page".freeze
- PARAM_START_PAGE =
"start_page".freeze