{"action":"created","comment":{"url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/comments/53934429","id":53934429,"diff_hunk":"@@ -6,13 +6,21 @@ class MakersBnb < Sinatra::Base\n   end\n \n   post '/spaces' do\n-    Space.create(\n-                name: params[:name],\n-                description: params[:description],\n-                price: params[:price],\n-                date_from: params[:date_from],\n-                date_to: params[:date_to]\n-    )\n+    attributes = {","path":"app/controllers/spaces.rb","position":11,"original_position":11,"commit_id":"4c595601ad0af8e8a8d0b374b3cabd03f7b52b16","original_commit_id":"4c595601ad0af8e8a8d0b374b3cabd03f7b52b16","user":{"login":"russellvaughan","id":16154072,"avatar_url":"https://avatars.githubusercontent.com/u/16154072?v=3","gravatar_id":"","url":"https://api.github.com/users/russellvaughan","html_url":"https://github.com/russellvaughan","followers_url":"https://api.github.com/users/russellvaughan/followers","following_url":"https://api.github.com/users/russellvaughan/following{/other_user}","gists_url":"https://api.github.com/users/russellvaughan/gists{/gist_id}","starred_url":"https://api.github.com/users/russellvaughan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellvaughan/subscriptions","organizations_url":"https://api.github.com/users/russellvaughan/orgs","repos_url":"https://api.github.com/users/russellvaughan/repos","events_url":"https://api.github.com/users/russellvaughan/events{/privacy}","received_events_url":"https://api.github.com/users/russellvaughan/received_events","type":"User","site_admin":false},"body":"nice refactoring here.","created_at":"2016-02-24T13:02:25Z","updated_at":"2016-02-24T13:02:25Z","html_url":"https://github.com/RPiper93/makers_bnb/pull/42#discussion_r53934429","pull_request_url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/comments/53934429"},"html":{"href":"https://github.com/RPiper93/makers_bnb/pull/42#discussion_r53934429"},"pull_request":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42","id":60502542,"html_url":"https://github.com/RPiper93/makers_bnb/pull/42","diff_url":"https://github.com/RPiper93/makers_bnb/pull/42.diff","patch_url":"https://github.com/RPiper93/makers_bnb/pull/42.patch","issue_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues/42","number":42,"state":"open","locked":false,"title":"8 update space","user":{"login":"jaxdid","id":6742041,"avatar_url":"https://avatars.githubusercontent.com/u/6742041?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxdid","html_url":"https://github.com/jaxdid","followers_url":"https://api.github.com/users/jaxdid/followers","following_url":"https://api.github.com/users/jaxdid/following{/other_user}","gists_url":"https://api.github.com/users/jaxdid/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxdid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxdid/subscriptions","organizations_url":"https://api.github.com/users/jaxdid/orgs","repos_url":"https://api.github.com/users/jaxdid/repos","events_url":"https://api.github.com/users/jaxdid/events{/privacy}","received_events_url":"https://api.github.com/users/jaxdid/received_events","type":"User","site_admin":false},"body":"closes #8 ","created_at":"2016-02-24T12:40:10Z","updated_at":"2016-02-24T13:02:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13b7db04f28737c132167d6311dbce8228b87355","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42/commits","review_comments_url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42/comments","review_comment_url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues/42/comments","statuses_url":"https://api.github.com/repos/RPiper93/makers_bnb/statuses/4c595601ad0af8e8a8d0b374b3cabd03f7b52b16","head":{"label":"RPiper93:8-update-space","ref":"8-update-space","sha":"4c595601ad0af8e8a8d0b374b3cabd03f7b52b16","user":{"login":"RPiper93","id":15065033,"avatar_url":"https://avatars.githubusercontent.com/u/15065033?v=3","gravatar_id":"","url":"https://api.github.com/users/RPiper93","html_url":"https://github.com/RPiper93","followers_url":"https://api.github.com/users/RPiper93/followers","following_url":"https://api.github.com/users/RPiper93/following{/other_user}","gists_url":"https://api.github.com/users/RPiper93/gists{/gist_id}","starred_url":"https://api.github.com/users/RPiper93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPiper93/subscriptions","organizations_url":"https://api.github.com/users/RPiper93/orgs","repos_url":"https://api.github.com/users/RPiper93/repos","events_url":"https://api.github.com/users/RPiper93/events{/privacy}","received_events_url":"https://api.github.com/users/RPiper93/received_events","type":"User","site_admin":false},"repo":{"id":52267484,"name":"makers_bnb","full_name":"RPiper93/makers_bnb","owner":{"login":"RPiper93","id":15065033,"avatar_url":"https://avatars.githubusercontent.com/u/15065033?v=3","gravatar_id":"","url":"https://api.github.com/users/RPiper93","html_url":"https://github.com/RPiper93","followers_url":"https://api.github.com/users/RPiper93/followers","following_url":"https://api.github.com/users/RPiper93/following{/other_user}","gists_url":"https://api.github.com/users/RPiper93/gists{/gist_id}","starred_url":"https://api.github.com/users/RPiper93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPiper93/subscriptions","organizations_url":"https://api.github.com/users/RPiper93/orgs","repos_url":"https://api.github.com/users/RPiper93/repos","events_url":"https://api.github.com/users/RPiper93/events{/privacy}","received_events_url":"https://api.github.com/users/RPiper93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RPiper93/makers_bnb","description":"","fork":false,"url":"https://api.github.com/repos/RPiper93/makers_bnb","forks_url":"https://api.github.com/repos/RPiper93/makers_bnb/forks","keys_url":"https://api.github.com/repos/RPiper93/makers_bnb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RPiper93/makers_bnb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RPiper93/makers_bnb/teams","hooks_url":"https://api.github.com/repos/RPiper93/makers_bnb/hooks","issue_events_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues/events{/number}","events_url":"https://api.github.com/repos/RPiper93/makers_bnb/events","assignees_url":"https://api.github.com/repos/RPiper93/makers_bnb/assignees{/user}","branches_url":"https://api.github.com/repos/RPiper93/makers_bnb/branches{/branch}","tags_url":"https://api.github.com/repos/RPiper93/makers_bnb/tags","blobs_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/refs{/sha}","trees_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RPiper93/makers_bnb/statuses/{sha}","languages_url":"https://api.github.com/repos/RPiper93/makers_bnb/languages","stargazers_url":"https://api.github.com/repos/RPiper93/makers_bnb/stargazers","contributors_url":"https://api.github.com/repos/RPiper93/makers_bnb/contributors","subscribers_url":"https://api.github.com/repos/RPiper93/makers_bnb/subscribers","subscription_url":"https://api.github.com/repos/RPiper93/makers_bnb/subscription","commits_url":"https://api.github.com/repos/RPiper93/makers_bnb/commits{/sha}","git_commits_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/commits{/sha}","comments_url":"https://api.github.com/repos/RPiper93/makers_bnb/comments{/number}","issue_comment_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues/comments{/number}","contents_url":"https://api.github.com/repos/RPiper93/makers_bnb/contents/{+path}","compare_url":"https://api.github.com/repos/RPiper93/makers_bnb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RPiper93/makers_bnb/merges","archive_url":"https://api.github.com/repos/RPiper93/makers_bnb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RPiper93/makers_bnb/downloads","issues_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues{/number}","pulls_url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls{/number}","milestones_url":"https://api.github.com/repos/RPiper93/makers_bnb/milestones{/number}","notifications_url":"https://api.github.com/repos/RPiper93/makers_bnb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RPiper93/makers_bnb/labels{/name}","releases_url":"https://api.github.com/repos/RPiper93/makers_bnb/releases{/id}","deployments_url":"https://api.github.com/repos/RPiper93/makers_bnb/deployments","created_at":"2016-02-22T11:01:43Z","updated_at":"2016-02-22T13:28:16Z","pushed_at":"2016-02-24T12:40:10Z","git_url":"git://github.com/RPiper93/makers_bnb.git","ssh_url":"git@github.com:RPiper93/makers_bnb.git","clone_url":"https://github.com/RPiper93/makers_bnb.git","svn_url":"https://github.com/RPiper93/makers_bnb","homepage":null,"size":66,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":1,"default_branch":"master"}},"base":{"label":"RPiper93:master","ref":"master","sha":"4f1e635dac22c376669cba545b7e5332bff4f38a","user":{"login":"RPiper93","id":15065033,"avatar_url":"https://avatars.githubusercontent.com/u/15065033?v=3","gravatar_id":"","url":"https://api.github.com/users/RPiper93","html_url":"https://github.com/RPiper93","followers_url":"https://api.github.com/users/RPiper93/followers","following_url":"https://api.github.com/users/RPiper93/following{/other_user}","gists_url":"https://api.github.com/users/RPiper93/gists{/gist_id}","starred_url":"https://api.github.com/users/RPiper93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPiper93/subscriptions","organizations_url":"https://api.github.com/users/RPiper93/orgs","repos_url":"https://api.github.com/users/RPiper93/repos","events_url":"https://api.github.com/users/RPiper93/events{/privacy}","received_events_url":"https://api.github.com/users/RPiper93/received_events","type":"User","site_admin":false},"repo":{"id":52267484,"name":"makers_bnb","full_name":"RPiper93/makers_bnb","owner":{"login":"RPiper93","id":15065033,"avatar_url":"https://avatars.githubusercontent.com/u/15065033?v=3","gravatar_id":"","url":"https://api.github.com/users/RPiper93","html_url":"https://github.com/RPiper93","followers_url":"https://api.github.com/users/RPiper93/followers","following_url":"https://api.github.com/users/RPiper93/following{/other_user}","gists_url":"https://api.github.com/users/RPiper93/gists{/gist_id}","starred_url":"https://api.github.com/users/RPiper93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPiper93/subscriptions","organizations_url":"https://api.github.com/users/RPiper93/orgs","repos_url":"https://api.github.com/users/RPiper93/repos","events_url":"https://api.github.com/users/RPiper93/events{/privacy}","received_events_url":"https://api.github.com/users/RPiper93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RPiper93/makers_bnb","description":"","fork":false,"url":"https://api.github.com/repos/RPiper93/makers_bnb","forks_url":"https://api.github.com/repos/RPiper93/makers_bnb/forks","keys_url":"https://api.github.com/repos/RPiper93/makers_bnb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RPiper93/makers_bnb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RPiper93/makers_bnb/teams","hooks_url":"https://api.github.com/repos/RPiper93/makers_bnb/hooks","issue_events_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues/events{/number}","events_url":"https://api.github.com/repos/RPiper93/makers_bnb/events","assignees_url":"https://api.github.com/repos/RPiper93/makers_bnb/assignees{/user}","branches_url":"https://api.github.com/repos/RPiper93/makers_bnb/branches{/branch}","tags_url":"https://api.github.com/repos/RPiper93/makers_bnb/tags","blobs_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/refs{/sha}","trees_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RPiper93/makers_bnb/statuses/{sha}","languages_url":"https://api.github.com/repos/RPiper93/makers_bnb/languages","stargazers_url":"https://api.github.com/repos/RPiper93/makers_bnb/stargazers","contributors_url":"https://api.github.com/repos/RPiper93/makers_bnb/contributors","subscribers_url":"https://api.github.com/repos/RPiper93/makers_bnb/subscribers","subscription_url":"https://api.github.com/repos/RPiper93/makers_bnb/subscription","commits_url":"https://api.github.com/repos/RPiper93/makers_bnb/commits{/sha}","git_commits_url":"https://api.github.com/repos/RPiper93/makers_bnb/git/commits{/sha}","comments_url":"https://api.github.com/repos/RPiper93/makers_bnb/comments{/number}","issue_comment_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues/comments{/number}","contents_url":"https://api.github.com/repos/RPiper93/makers_bnb/contents/{+path}","compare_url":"https://api.github.com/repos/RPiper93/makers_bnb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RPiper93/makers_bnb/merges","archive_url":"https://api.github.com/repos/RPiper93/makers_bnb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RPiper93/makers_bnb/downloads","issues_url":"https://api.github.com/repos/RPiper93/makers_bnb/issues{/number}","pulls_url":"https://api.github.com/repos/RPiper93/makers_bnb/pulls{/number}","milestones_url":"https://api.github.com/repos/RPiper93/makers_bnb/milestones{/number}","notifications_url":"https://api.github.com/repos/RPiper93/makers_bnb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RPiper93/makers_bnb/labels{/name}","releases_url":"https://api.github.com/repos/RPiper93/makers_bnb/releases{/id}","deployments_url":"https://api.github.com/repos/RPiper93/makers_bnb/deployments","created_at":"2016-02-22T11:01:43Z","updated_at":"2016-02-22T13:28:16Z","pushed_at":"2016-02-24T12:40:10Z","git_url":"git://github.com/RPiper93/makers_bnb.git","ssh_url":"git@github.com:RPiper93/makers_bnb.git","clone_url":"https://github.com/RPiper93/makers_bnb.git","svn_url":"https://github.com/RPiper93/makers_bnb","homepage":null,"size":66,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42"},"html":{"href":"https://github.com/RPiper93/makers_bnb/pull/42"},"issue":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/issues/42"},"comments":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/RPiper93/makers_bnb/statuses/4c595601ad0af8e8a8d0b374b3cabd03f7b52b16"}}}}