{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/15","id":32174282,"html_url":"https://github.com/nyc-fiddler-crabs-2015/Hither/pull/15","diff_url":"https://github.com/nyc-fiddler-crabs-2015/Hither/pull/15.diff","patch_url":"https://github.com/nyc-fiddler-crabs-2015/Hither/pull/15.patch","issue_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/15","number":15,"state":"closed","locked":false,"title":"cleaned up code in hotel controller by adding factory","user":{"login":"leoarogers","id":9475851,"avatar_url":"https://avatars.githubusercontent.com/u/9475851?v=3","gravatar_id":"","url":"https://api.github.com/users/leoarogers","html_url":"https://github.com/leoarogers","followers_url":"https://api.github.com/users/leoarogers/followers","following_url":"https://api.github.com/users/leoarogers/following{/other_user}","gists_url":"https://api.github.com/users/leoarogers/gists{/gist_id}","starred_url":"https://api.github.com/users/leoarogers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoarogers/subscriptions","organizations_url":"https://api.github.com/users/leoarogers/orgs","repos_url":"https://api.github.com/users/leoarogers/repos","events_url":"https://api.github.com/users/leoarogers/events{/privacy}","received_events_url":"https://api.github.com/users/leoarogers/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-29T00:48:58Z","updated_at":"2015-03-29T00:49:16Z","closed_at":"2015-03-29T00:49:16Z","merged_at":"2015-03-29T00:49:16Z","merge_commit_sha":"a20f3552eb9fa2355d974979a16b4f8dc00ce128","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/15/commits","review_comments_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/15/comments","review_comment_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/15/comments","statuses_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/statuses/487f7956fbd98ef88e1cd58a2123590d8b053b8b","head":{"label":"nyc-fiddler-crabs-2015:lr/hotel_factory","ref":"lr/hotel_factory","sha":"487f7956fbd98ef88e1cd58a2123590d8b053b8b","user":{"login":"nyc-fiddler-crabs-2015","id":10661030,"avatar_url":"https://avatars.githubusercontent.com/u/10661030?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiddler-crabs-2015","html_url":"https://github.com/nyc-fiddler-crabs-2015","followers_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/followers","following_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/repos","events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":32931803,"name":"Hither","full_name":"nyc-fiddler-crabs-2015/Hither","owner":{"login":"nyc-fiddler-crabs-2015","id":10661030,"avatar_url":"https://avatars.githubusercontent.com/u/10661030?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiddler-crabs-2015","html_url":"https://github.com/nyc-fiddler-crabs-2015","followers_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/followers","following_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/repos","events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-fiddler-crabs-2015/Hither","description":"","fork":false,"url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither","forks_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/forks","keys_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/teams","hooks_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/hooks","issue_events_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/events","assignees_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/tags","blobs_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/languages","stargazers_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/stargazers","contributors_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/contributors","subscribers_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/subscribers","subscription_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/subscription","commits_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/merges","archive_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/downloads","issues_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/labels{/name}","releases_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/releases{/id}","created_at":"2015-03-26T14:21:29Z","updated_at":"2015-03-28T23:39:51Z","pushed_at":"2015-03-29T00:49:16Z","git_url":"git://github.com/nyc-fiddler-crabs-2015/Hither.git","ssh_url":"git@github.com:nyc-fiddler-crabs-2015/Hither.git","clone_url":"https://github.com/nyc-fiddler-crabs-2015/Hither.git","svn_url":"https://github.com/nyc-fiddler-crabs-2015/Hither","homepage":null,"size":0,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nyc-fiddler-crabs-2015:master","ref":"master","sha":"f93bfbe2652317111b92d43564c43e7fe2736ccb","user":{"login":"nyc-fiddler-crabs-2015","id":10661030,"avatar_url":"https://avatars.githubusercontent.com/u/10661030?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiddler-crabs-2015","html_url":"https://github.com/nyc-fiddler-crabs-2015","followers_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/followers","following_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/repos","events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":32931803,"name":"Hither","full_name":"nyc-fiddler-crabs-2015/Hither","owner":{"login":"nyc-fiddler-crabs-2015","id":10661030,"avatar_url":"https://avatars.githubusercontent.com/u/10661030?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiddler-crabs-2015","html_url":"https://github.com/nyc-fiddler-crabs-2015","followers_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/followers","following_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/repos","events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiddler-crabs-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-fiddler-crabs-2015/Hither","description":"","fork":false,"url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither","forks_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/forks","keys_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/teams","hooks_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/hooks","issue_events_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/events","assignees_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/tags","blobs_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/languages","stargazers_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/stargazers","contributors_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/contributors","subscribers_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/subscribers","subscription_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/subscription","commits_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/merges","archive_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/downloads","issues_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/labels{/name}","releases_url":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/releases{/id}","created_at":"2015-03-26T14:21:29Z","updated_at":"2015-03-28T23:39:51Z","pushed_at":"2015-03-29T00:49:16Z","git_url":"git://github.com/nyc-fiddler-crabs-2015/Hither.git","ssh_url":"git@github.com:nyc-fiddler-crabs-2015/Hither.git","clone_url":"https://github.com/nyc-fiddler-crabs-2015/Hither.git","svn_url":"https://github.com/nyc-fiddler-crabs-2015/Hither","homepage":null,"size":0,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/15"},"html":{"href":"https://github.com/nyc-fiddler-crabs-2015/Hither/pull/15"},"issue":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/15"},"comments":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/nyc-fiddler-crabs-2015/Hither/statuses/487f7956fbd98ef88e1cd58a2123590d8b053b8b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"trevornelson","id":8084744,"avatar_url":"https://avatars.githubusercontent.com/u/8084744?v=3","gravatar_id":"","url":"https://api.github.com/users/trevornelson","html_url":"https://github.com/trevornelson","followers_url":"https://api.github.com/users/trevornelson/followers","following_url":"https://api.github.com/users/trevornelson/following{/other_user}","gists_url":"https://api.github.com/users/trevornelson/gists{/gist_id}","starred_url":"https://api.github.com/users/trevornelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevornelson/subscriptions","organizations_url":"https://api.github.com/users/trevornelson/orgs","repos_url":"https://api.github.com/users/trevornelson/repos","events_url":"https://api.github.com/users/trevornelson/events{/privacy}","received_events_url":"https://api.github.com/users/trevornelson/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":8,"changed_files":1}}