{"action":"created","comment":{"url":"https://api.github.com/repos/treetopllc/noble.js/pulls/comments/78087399","id":78087399,"diff_hunk":"@@ -0,0 +1,36 @@\n+// dependencies\n+var utils = require(\"../utils\");\n+var Vertex = require(\"./Vertex\");\n+\n+\n+/**\n+ * Represents a invite vertex\n+ *\n+ * @constructor\n+ * @param {Client} client  The API client object (passed around internally)\n+ * @param {String} id      UUID\n+ */\n+function Invite(client, id) {\n+    Vertex.call(this, client, id);\n+}\n+\n+// inheritance\n+Vertex.extend(Invite);\n+\n+// override for Vertex#base\n+Invite.prototype.base = \"invites\";\n+\n+/**\n+ * Opens an invite, creating a submission\n+ *\n+ * @param invite_id\n+ * @param accepting_id\n+ * @param {Function} callback\n+ */\n+Invite.prototype.open = function (invite_id, accepting_id, callback) {","path":"lib/graph/Invite.js","position":30,"original_position":30,"commit_id":"91ceecbf802ceecfddd193e3008d316fc5a1b23f","original_commit_id":"91ceecbf802ceecfddd193e3008d316fc5a1b23f","user":{"login":"aprilb","id":458678,"avatar_url":"https://avatars.githubusercontent.com/u/458678?v=3","gravatar_id":"","url":"https://api.github.com/users/aprilb","html_url":"https://github.com/aprilb","followers_url":"https://api.github.com/users/aprilb/followers","following_url":"https://api.github.com/users/aprilb/following{/other_user}","gists_url":"https://api.github.com/users/aprilb/gists{/gist_id}","starred_url":"https://api.github.com/users/aprilb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprilb/subscriptions","organizations_url":"https://api.github.com/users/aprilb/orgs","repos_url":"https://api.github.com/users/aprilb/repos","events_url":"https://api.github.com/users/aprilb/events{/privacy}","received_events_url":"https://api.github.com/users/aprilb/received_events","type":"User","site_admin":false},"body":"e.g. Invite.js and then follow some of the other examples.","created_at":"2016-09-08T20:56:20Z","updated_at":"2016-09-08T20:56:20Z","html_url":"https://github.com/treetopllc/noble.js/pull/37#discussion_r78087399","pull_request_url":"https://api.github.com/repos/treetopllc/noble.js/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/treetopllc/noble.js/pulls/comments/78087399"},"html":{"href":"https://github.com/treetopllc/noble.js/pull/37#discussion_r78087399"},"pull_request":{"href":"https://api.github.com/repos/treetopllc/noble.js/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/treetopllc/noble.js/pulls/37","id":84552019,"html_url":"https://github.com/treetopllc/noble.js/pull/37","diff_url":"https://github.com/treetopllc/noble.js/pull/37.diff","patch_url":"https://github.com/treetopllc/noble.js/pull/37.patch","issue_url":"https://api.github.com/repos/treetopllc/noble.js/issues/37","number":37,"state":"open","locked":false,"title":"Add method to open invite","user":{"login":"vincentgallegos","id":108060,"avatar_url":"https://avatars.githubusercontent.com/u/108060?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentgallegos","html_url":"https://github.com/vincentgallegos","followers_url":"https://api.github.com/users/vincentgallegos/followers","following_url":"https://api.github.com/users/vincentgallegos/following{/other_user}","gists_url":"https://api.github.com/users/vincentgallegos/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentgallegos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentgallegos/subscriptions","organizations_url":"https://api.github.com/users/vincentgallegos/orgs","repos_url":"https://api.github.com/users/vincentgallegos/repos","events_url":"https://api.github.com/users/vincentgallegos/events{/privacy}","received_events_url":"https://api.github.com/users/vincentgallegos/received_events","type":"User","site_admin":false},"body":"https://treetopllc.jira.com/browse/COL-1583","created_at":"2016-09-08T20:53:13Z","updated_at":"2016-09-08T20:56:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cac4bfbfd5a03b01e7213f91743e44c3db05ac04","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/treetopllc/noble.js/pulls/37/commits","review_comments_url":"https://api.github.com/repos/treetopllc/noble.js/pulls/37/comments","review_comment_url":"https://api.github.com/repos/treetopllc/noble.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/treetopllc/noble.js/issues/37/comments","statuses_url":"https://api.github.com/repos/treetopllc/noble.js/statuses/91ceecbf802ceecfddd193e3008d316fc5a1b23f","head":{"label":"treetopllc:feature/invite_vertex_type","ref":"feature/invite_vertex_type","sha":"91ceecbf802ceecfddd193e3008d316fc5a1b23f","user":{"login":"treetopllc","id":764597,"avatar_url":"https://avatars.githubusercontent.com/u/764597?v=3","gravatar_id":"","url":"https://api.github.com/users/treetopllc","html_url":"https://github.com/treetopllc","followers_url":"https://api.github.com/users/treetopllc/followers","following_url":"https://api.github.com/users/treetopllc/following{/other_user}","gists_url":"https://api.github.com/users/treetopllc/gists{/gist_id}","starred_url":"https://api.github.com/users/treetopllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treetopllc/subscriptions","organizations_url":"https://api.github.com/users/treetopllc/orgs","repos_url":"https://api.github.com/users/treetopllc/repos","events_url":"https://api.github.com/users/treetopllc/events{/privacy}","received_events_url":"https://api.github.com/users/treetopllc/received_events","type":"Organization","site_admin":false},"repo":{"id":9457133,"name":"noble.js","full_name":"treetopllc/noble.js","owner":{"login":"treetopllc","id":764597,"avatar_url":"https://avatars.githubusercontent.com/u/764597?v=3","gravatar_id":"","url":"https://api.github.com/users/treetopllc","html_url":"https://github.com/treetopllc","followers_url":"https://api.github.com/users/treetopllc/followers","following_url":"https://api.github.com/users/treetopllc/following{/other_user}","gists_url":"https://api.github.com/users/treetopllc/gists{/gist_id}","starred_url":"https://api.github.com/users/treetopllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treetopllc/subscriptions","organizations_url":"https://api.github.com/users/treetopllc/orgs","repos_url":"https://api.github.com/users/treetopllc/repos","events_url":"https://api.github.com/users/treetopllc/events{/privacy}","received_events_url":"https://api.github.com/users/treetopllc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/treetopllc/noble.js","description":"NobleHour API Component.js client library","fork":false,"url":"https://api.github.com/repos/treetopllc/noble.js","forks_url":"https://api.github.com/repos/treetopllc/noble.js/forks","keys_url":"https://api.github.com/repos/treetopllc/noble.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/treetopllc/noble.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/treetopllc/noble.js/teams","hooks_url":"https://api.github.com/repos/treetopllc/noble.js/hooks","issue_events_url":"https://api.github.com/repos/treetopllc/noble.js/issues/events{/number}","events_url":"https://api.github.com/repos/treetopllc/noble.js/events","assignees_url":"https://api.github.com/repos/treetopllc/noble.js/assignees{/user}","branches_url":"https://api.github.com/repos/treetopllc/noble.js/branches{/branch}","tags_url":"https://api.github.com/repos/treetopllc/noble.js/tags","blobs_url":"https://api.github.com/repos/treetopllc/noble.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/treetopllc/noble.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/treetopllc/noble.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/treetopllc/noble.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/treetopllc/noble.js/statuses/{sha}","languages_url":"https://api.github.com/repos/treetopllc/noble.js/languages","stargazers_url":"https://api.github.com/repos/treetopllc/noble.js/stargazers","contributors_url":"https://api.github.com/repos/treetopllc/noble.js/contributors","subscribers_url":"https://api.github.com/repos/treetopllc/noble.js/subscribers","subscription_url":"https://api.github.com/repos/treetopllc/noble.js/subscription","commits_url":"https://api.github.com/repos/treetopllc/noble.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/treetopllc/noble.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/treetopllc/noble.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/treetopllc/noble.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/treetopllc/noble.js/contents/{+path}","compare_url":"https://api.github.com/repos/treetopllc/noble.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/treetopllc/noble.js/merges","archive_url":"https://api.github.com/repos/treetopllc/noble.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/treetopllc/noble.js/downloads","issues_url":"https://api.github.com/repos/treetopllc/noble.js/issues{/number}","pulls_url":"https://api.github.com/repos/treetopllc/noble.js/pulls{/number}","milestones_url":"https://api.github.com/repos/treetopllc/noble.js/milestones{/number}","notifications_url":"https://api.github.com/repos/treetopllc/noble.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/treetopllc/noble.js/labels{/name}","releases_url":"https://api.github.com/repos/treetopllc/noble.js/releases{/id}","deployments_url":"https://api.github.com/repos/treetopllc/noble.js/deployments","created_at":"2013-04-15T20:03:45Z","updated_at":"2016-08-25T17:47:22Z","pushed_at":"2016-09-08T20:53:13Z","git_url":"git://github.com/treetopllc/noble.js.git","ssh_url":"git@github.com:treetopllc/noble.js.git","clone_url":"https://github.com/treetopllc/noble.js.git","svn_url":"https://github.com/treetopllc/noble.js","homepage":"","size":484,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"treetopllc:master","ref":"master","sha":"72763ee47c3fa36ca3c611bba73077e912c81869","user":{"login":"treetopllc","id":764597,"avatar_url":"https://avatars.githubusercontent.com/u/764597?v=3","gravatar_id":"","url":"https://api.github.com/users/treetopllc","html_url":"https://github.com/treetopllc","followers_url":"https://api.github.com/users/treetopllc/followers","following_url":"https://api.github.com/users/treetopllc/following{/other_user}","gists_url":"https://api.github.com/users/treetopllc/gists{/gist_id}","starred_url":"https://api.github.com/users/treetopllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treetopllc/subscriptions","organizations_url":"https://api.github.com/users/treetopllc/orgs","repos_url":"https://api.github.com/users/treetopllc/repos","events_url":"https://api.github.com/users/treetopllc/events{/privacy}","received_events_url":"https://api.github.com/users/treetopllc/received_events","type":"Organization","site_admin":false},"repo":{"id":9457133,"name":"noble.js","full_name":"treetopllc/noble.js","owner":{"login":"treetopllc","id":764597,"avatar_url":"https://avatars.githubusercontent.com/u/764597?v=3","gravatar_id":"","url":"https://api.github.com/users/treetopllc","html_url":"https://github.com/treetopllc","followers_url":"https://api.github.com/users/treetopllc/followers","following_url":"https://api.github.com/users/treetopllc/following{/other_user}","gists_url":"https://api.github.com/users/treetopllc/gists{/gist_id}","starred_url":"https://api.github.com/users/treetopllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treetopllc/subscriptions","organizations_url":"https://api.github.com/users/treetopllc/orgs","repos_url":"https://api.github.com/users/treetopllc/repos","events_url":"https://api.github.com/users/treetopllc/events{/privacy}","received_events_url":"https://api.github.com/users/treetopllc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/treetopllc/noble.js","description":"NobleHour API Component.js client library","fork":false,"url":"https://api.github.com/repos/treetopllc/noble.js","forks_url":"https://api.github.com/repos/treetopllc/noble.js/forks","keys_url":"https://api.github.com/repos/treetopllc/noble.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/treetopllc/noble.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/treetopllc/noble.js/teams","hooks_url":"https://api.github.com/repos/treetopllc/noble.js/hooks","issue_events_url":"https://api.github.com/repos/treetopllc/noble.js/issues/events{/number}","events_url":"https://api.github.com/repos/treetopllc/noble.js/events","assignees_url":"https://api.github.com/repos/treetopllc/noble.js/assignees{/user}","branches_url":"https://api.github.com/repos/treetopllc/noble.js/branches{/branch}","tags_url":"https://api.github.com/repos/treetopllc/noble.js/tags","blobs_url":"https://api.github.com/repos/treetopllc/noble.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/treetopllc/noble.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/treetopllc/noble.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/treetopllc/noble.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/treetopllc/noble.js/statuses/{sha}","languages_url":"https://api.github.com/repos/treetopllc/noble.js/languages","stargazers_url":"https://api.github.com/repos/treetopllc/noble.js/stargazers","contributors_url":"https://api.github.com/repos/treetopllc/noble.js/contributors","subscribers_url":"https://api.github.com/repos/treetopllc/noble.js/subscribers","subscription_url":"https://api.github.com/repos/treetopllc/noble.js/subscription","commits_url":"https://api.github.com/repos/treetopllc/noble.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/treetopllc/noble.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/treetopllc/noble.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/treetopllc/noble.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/treetopllc/noble.js/contents/{+path}","compare_url":"https://api.github.com/repos/treetopllc/noble.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/treetopllc/noble.js/merges","archive_url":"https://api.github.com/repos/treetopllc/noble.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/treetopllc/noble.js/downloads","issues_url":"https://api.github.com/repos/treetopllc/noble.js/issues{/number}","pulls_url":"https://api.github.com/repos/treetopllc/noble.js/pulls{/number}","milestones_url":"https://api.github.com/repos/treetopllc/noble.js/milestones{/number}","notifications_url":"https://api.github.com/repos/treetopllc/noble.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/treetopllc/noble.js/labels{/name}","releases_url":"https://api.github.com/repos/treetopllc/noble.js/releases{/id}","deployments_url":"https://api.github.com/repos/treetopllc/noble.js/deployments","created_at":"2013-04-15T20:03:45Z","updated_at":"2016-08-25T17:47:22Z","pushed_at":"2016-09-08T20:53:13Z","git_url":"git://github.com/treetopllc/noble.js.git","ssh_url":"git@github.com:treetopllc/noble.js.git","clone_url":"https://github.com/treetopllc/noble.js.git","svn_url":"https://github.com/treetopllc/noble.js","homepage":"","size":484,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/treetopllc/noble.js/pulls/37"},"html":{"href":"https://github.com/treetopllc/noble.js/pull/37"},"issue":{"href":"https://api.github.com/repos/treetopllc/noble.js/issues/37"},"comments":{"href":"https://api.github.com/repos/treetopllc/noble.js/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/treetopllc/noble.js/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/treetopllc/noble.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/treetopllc/noble.js/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/treetopllc/noble.js/statuses/91ceecbf802ceecfddd193e3008d316fc5a1b23f"}}}}
{"actor":{"display_login":"aprilb"}}