Requires
Methods
(inner) apiUrl(path) → {string}
Return the GitHub API url for the specified path.
Parameters:
| Name | Type | Description |
|---|---|---|
path |
string | the path of the API request |
Returns:
the full URL for API request
- Type
- string
(inner) getRunQuery(query, onFulfilled, onRejected) → {function}
Get query runner function for specified query and callbacks.
Parameters:
| Name | Type | Description |
|---|---|---|
query |
string | the query to run |
onFulfilled |
function | query result will be passed to this callback |
onRejected |
function | errors will be passed to this callback |
Returns:
the function which will execute the query
- Type
- function
(inner) query(query, onFulfilled, onRejected) → {boolean}
Query the GitLab API.
Parameters:
| Name | Type | Description |
|---|---|---|
query |
string | the BitBucket query string |
onFulfilled |
function | query result will be passed to this callback |
onRejected |
function | errors will be passed to this callback |
Returns:
true for valid query string, false
otherwise
- Type
- boolean