* Create a new project * @see https://developer.github.com/v3/projects/#create-a-repository-project * @param {Object} options - the description of the project * @param {Requestable.callback} cb - will receive the newly created project * @return {Promise} - the promise for the http re
(options, cb)
| 906 | * @return {Promise} - the promise for the http request |
| 907 | */ |
| 908 | createProject(options, cb) { |
| 909 | options = options || {}; |
| 910 | options.AcceptHeader = 'inertia-preview'; |
| 911 | return this._request('POST', `/repos/${this.__fullname}/projects`, options, cb); |
| 912 | } |
| 913 | |
| 914 | } |
| 915 |
no test coverage detected