Class: API::V3::Github

Inherits:
Grape::API::Instance
  • Object
show all
Includes:
PaginationParams
Defined in:
lib/api/v3/github.rb

Constant Summary collapse

NO_SLASH_URL_PART_REGEX =
%r{[^/]+}.freeze
ENDPOINT_REQUIREMENTS =
{
  namespace: NO_SLASH_URL_PART_REGEX,
  project: NO_SLASH_URL_PART_REGEX,
  username: NO_SLASH_URL_PART_REGEX
}.freeze
JIRA_DVCS_CLOUD_USER_AGENT =

Used to differentiate Jira Cloud requests from Jira Server requests Jira Cloud user agent format: Jira DVCS Connector Vertigo/version Jira Server user agent format: Jira DVCS Connector/version

'Jira DVCS Connector Vertigo'.freeze