{"action":"created","issue":{"url":"https://api.github.com/repos/jonathanchrisp/namely/issues/5","labels_url":"https://api.github.com/repos/jonathanchrisp/namely/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jonathanchrisp/namely/issues/5/comments","events_url":"https://api.github.com/repos/jonathanchrisp/namely/issues/5/events","html_url":"https://github.com/jonathanchrisp/namely/pull/5","id":64867296,"number":5,"title":"NoTask - refactored code and added api endpoints","user":{"login":"jonathanchrisp","id":406799,"avatar_url":"https://avatars.githubusercontent.com/u/406799?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanchrisp","html_url":"https://github.com/jonathanchrisp","followers_url":"https://api.github.com/users/jonathanchrisp/followers","following_url":"https://api.github.com/users/jonathanchrisp/following{/other_user}","gists_url":"https://api.github.com/users/jonathanchrisp/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanchrisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanchrisp/subscriptions","organizations_url":"https://api.github.com/users/jonathanchrisp/orgs","repos_url":"https://api.github.com/users/jonathanchrisp/repos","events_url":"https://api.github.com/users/jonathanchrisp/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanchrisp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jonathanchrisp/namely/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"spmason","id":222180,"avatar_url":"https://avatars.githubusercontent.com/u/222180?v=3","gravatar_id":"","url":"https://api.github.com/users/spmason","html_url":"https://github.com/spmason","followers_url":"https://api.github.com/users/spmason/followers","following_url":"https://api.github.com/users/spmason/following{/other_user}","gists_url":"https://api.github.com/users/spmason/gists{/gist_id}","starred_url":"https://api.github.com/users/spmason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spmason/subscriptions","organizations_url":"https://api.github.com/users/spmason/orgs","repos_url":"https://api.github.com/users/spmason/repos","events_url":"https://api.github.com/users/spmason/events{/privacy}","received_events_url":"https://api.github.com/users/spmason/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-03-27T22:59:45Z","updated_at":"2015-03-27T23:46:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jonathanchrisp/namely/pulls/5","html_url":"https://github.com/jonathanchrisp/namely/pull/5","diff_url":"https://github.com/jonathanchrisp/namely/pull/5.diff","patch_url":"https://github.com/jonathanchrisp/namely/pull/5.patch"},"body":"## Changes\r\n\r\n* Refactored index.js:\r\n * Use `request.defaults()` to set `json: true` globally\r\n * Modified `send` function to be private\r\n * Added `get`, `post`, and `put` request methods to create bridge between high level api requests and low level `send` function\r\n * Added check within request methods to check if `opts` is `cb` function\r\n * Now set full authorisation header and apiEndpoint path in `get`, `post` and `put` functions\r\n* Added all api endpoints accept oauth\r\n* Updated package.json\r\n* Updated existing tests and ensured coverage of 100%"},"comment":{"url":"https://api.github.com/repos/jonathanchrisp/namely/issues/comments/87124651","html_url":"https://github.com/jonathanchrisp/namely/pull/5#issuecomment-87124651","issue_url":"https://api.github.com/repos/jonathanchrisp/namely/issues/5","id":87124651,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T23:46:45Z","updated_at":"2015-03-27T23:46:45Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2211928/badge)](https://coveralls.io/builds/2211928)\n\nCoverage remained the same at 100.0% when pulling **975eedc86ce2343f8b2c0382a179a38ee63efa8a on api-endpoints** into **77cf11b37b24d827ccc1df8bafbc03da17235c99 on master**.\n"}}