{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/3","id":67642742,"html_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails/pull/3","diff_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails/pull/3.diff","patch_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails/pull/3.patch","issue_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/3","number":3,"state":"open","locked":false,"title":"Change where the user roles are defined","user":{"login":"alexhartley","id":856348,"avatar_url":"https://avatars.githubusercontent.com/u/856348?v=3","gravatar_id":"","url":"https://api.github.com/users/alexhartley","html_url":"https://github.com/alexhartley","followers_url":"https://api.github.com/users/alexhartley/followers","following_url":"https://api.github.com/users/alexhartley/following{/other_user}","gists_url":"https://api.github.com/users/alexhartley/gists{/gist_id}","starred_url":"https://api.github.com/users/alexhartley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexhartley/subscriptions","organizations_url":"https://api.github.com/users/alexhartley/orgs","repos_url":"https://api.github.com/users/alexhartley/repos","events_url":"https://api.github.com/users/alexhartley/events{/privacy}","received_events_url":"https://api.github.com/users/alexhartley/received_events","type":"User","site_admin":false},"body":"I think this makes it a bit clearer. Possibly :smile:","created_at":"2016-04-24T16:50:53Z","updated_at":"2016-04-24T16:50:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/3/commits","review_comments_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/3/comments","review_comment_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/3/comments","statuses_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/statuses/b3e4135bbf17100716dbfeaf593a29bd51bf8366","head":{"label":"leigh-hackspace:ah-user-role-update","ref":"ah-user-role-update","sha":"b3e4135bbf17100716dbfeaf593a29bd51bf8366","user":{"login":"leigh-hackspace","id":9799609,"avatar_url":"https://avatars.githubusercontent.com/u/9799609?v=3","gravatar_id":"","url":"https://api.github.com/users/leigh-hackspace","html_url":"https://github.com/leigh-hackspace","followers_url":"https://api.github.com/users/leigh-hackspace/followers","following_url":"https://api.github.com/users/leigh-hackspace/following{/other_user}","gists_url":"https://api.github.com/users/leigh-hackspace/gists{/gist_id}","starred_url":"https://api.github.com/users/leigh-hackspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leigh-hackspace/subscriptions","organizations_url":"https://api.github.com/users/leigh-hackspace/orgs","repos_url":"https://api.github.com/users/leigh-hackspace/repos","events_url":"https://api.github.com/users/leigh-hackspace/events{/privacy}","received_events_url":"https://api.github.com/users/leigh-hackspace/received_events","type":"Organization","site_admin":false},"repo":{"id":40677285,"name":"hackspace-management-system-rails","full_name":"leigh-hackspace/hackspace-management-system-rails","owner":{"login":"leigh-hackspace","id":9799609,"avatar_url":"https://avatars.githubusercontent.com/u/9799609?v=3","gravatar_id":"","url":"https://api.github.com/users/leigh-hackspace","html_url":"https://github.com/leigh-hackspace","followers_url":"https://api.github.com/users/leigh-hackspace/followers","following_url":"https://api.github.com/users/leigh-hackspace/following{/other_user}","gists_url":"https://api.github.com/users/leigh-hackspace/gists{/gist_id}","starred_url":"https://api.github.com/users/leigh-hackspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leigh-hackspace/subscriptions","organizations_url":"https://api.github.com/users/leigh-hackspace/orgs","repos_url":"https://api.github.com/users/leigh-hackspace/repos","events_url":"https://api.github.com/users/leigh-hackspace/events{/privacy}","received_events_url":"https://api.github.com/users/leigh-hackspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails","description":"Rails version of the HMS","fork":false,"url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails","forks_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/forks","keys_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/teams","hooks_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/hooks","issue_events_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/events{/number}","events_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/events","assignees_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/assignees{/user}","branches_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/branches{/branch}","tags_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/tags","blobs_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/languages","stargazers_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/stargazers","contributors_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/contributors","subscribers_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/subscribers","subscription_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/subscription","commits_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/contents/{+path}","compare_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/merges","archive_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/downloads","issues_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues{/number}","pulls_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/labels{/name}","releases_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/releases{/id}","deployments_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/deployments","created_at":"2015-08-13T19:15:09Z","updated_at":"2016-01-23T22:49:16Z","pushed_at":"2016-04-24T16:47:18Z","git_url":"git://github.com/leigh-hackspace/hackspace-management-system-rails.git","ssh_url":"git@github.com:leigh-hackspace/hackspace-management-system-rails.git","clone_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails.git","svn_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails","homepage":null,"size":259,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"leigh-hackspace:master","ref":"master","sha":"3258e89d32ad5fbf8b491446f41c4264d2349fc5","user":{"login":"leigh-hackspace","id":9799609,"avatar_url":"https://avatars.githubusercontent.com/u/9799609?v=3","gravatar_id":"","url":"https://api.github.com/users/leigh-hackspace","html_url":"https://github.com/leigh-hackspace","followers_url":"https://api.github.com/users/leigh-hackspace/followers","following_url":"https://api.github.com/users/leigh-hackspace/following{/other_user}","gists_url":"https://api.github.com/users/leigh-hackspace/gists{/gist_id}","starred_url":"https://api.github.com/users/leigh-hackspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leigh-hackspace/subscriptions","organizations_url":"https://api.github.com/users/leigh-hackspace/orgs","repos_url":"https://api.github.com/users/leigh-hackspace/repos","events_url":"https://api.github.com/users/leigh-hackspace/events{/privacy}","received_events_url":"https://api.github.com/users/leigh-hackspace/received_events","type":"Organization","site_admin":false},"repo":{"id":40677285,"name":"hackspace-management-system-rails","full_name":"leigh-hackspace/hackspace-management-system-rails","owner":{"login":"leigh-hackspace","id":9799609,"avatar_url":"https://avatars.githubusercontent.com/u/9799609?v=3","gravatar_id":"","url":"https://api.github.com/users/leigh-hackspace","html_url":"https://github.com/leigh-hackspace","followers_url":"https://api.github.com/users/leigh-hackspace/followers","following_url":"https://api.github.com/users/leigh-hackspace/following{/other_user}","gists_url":"https://api.github.com/users/leigh-hackspace/gists{/gist_id}","starred_url":"https://api.github.com/users/leigh-hackspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leigh-hackspace/subscriptions","organizations_url":"https://api.github.com/users/leigh-hackspace/orgs","repos_url":"https://api.github.com/users/leigh-hackspace/repos","events_url":"https://api.github.com/users/leigh-hackspace/events{/privacy}","received_events_url":"https://api.github.com/users/leigh-hackspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails","description":"Rails version of the HMS","fork":false,"url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails","forks_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/forks","keys_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/teams","hooks_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/hooks","issue_events_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/events{/number}","events_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/events","assignees_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/assignees{/user}","branches_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/branches{/branch}","tags_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/tags","blobs_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/languages","stargazers_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/stargazers","contributors_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/contributors","subscribers_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/subscribers","subscription_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/subscription","commits_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/contents/{+path}","compare_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/merges","archive_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/downloads","issues_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues{/number}","pulls_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/labels{/name}","releases_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/releases{/id}","deployments_url":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/deployments","created_at":"2015-08-13T19:15:09Z","updated_at":"2016-01-23T22:49:16Z","pushed_at":"2016-04-24T16:47:18Z","git_url":"git://github.com/leigh-hackspace/hackspace-management-system-rails.git","ssh_url":"git@github.com:leigh-hackspace/hackspace-management-system-rails.git","clone_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails.git","svn_url":"https://github.com/leigh-hackspace/hackspace-management-system-rails","homepage":null,"size":259,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/3"},"html":{"href":"https://github.com/leigh-hackspace/hackspace-management-system-rails/pull/3"},"issue":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/3"},"comments":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/leigh-hackspace/hackspace-management-system-rails/statuses/b3e4135bbf17100716dbfeaf593a29bd51bf8366"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":10,"changed_files":2}}