{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/21","id":34467219,"html_url":"https://github.com/AgileVentures/TakeMeAway/pull/21","diff_url":"https://github.com/AgileVentures/TakeMeAway/pull/21.diff","patch_url":"https://github.com/AgileVentures/TakeMeAway/pull/21.patch","issue_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues/21","number":21,"state":"open","locked":false,"title":"Create API structure ","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"body":"##### PT feature: https://www.pivotaltracker.com/story/show/93276832\r\n- added `API::V1` namespace to `routes.rb`\r\n- added a `authentication_token` to `User`-class\r\n- created controllers for `sessions` & `menus` with basic methods (`index`, `show`, `get_token`)\r\n- added request specs for created controllers\r\n\r\n","created_at":"2015-04-30T14:51:18Z","updated_at":"2015-04-30T14:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/21/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/21/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues/21/comments","statuses_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/statuses/5e9fb9d243d61955ab41059d39264720d183550e","head":{"label":"tochman:api","ref":"api","sha":"5e9fb9d243d61955ab41059d39264720d183550e","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"repo":{"id":34601837,"name":"TakeMeAway","full_name":"tochman/TakeMeAway","owner":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tochman/TakeMeAway","description":"An online restaurant system to manage take away orders.","fork":true,"url":"https://api.github.com/repos/tochman/TakeMeAway","forks_url":"https://api.github.com/repos/tochman/TakeMeAway/forks","keys_url":"https://api.github.com/repos/tochman/TakeMeAway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tochman/TakeMeAway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tochman/TakeMeAway/teams","hooks_url":"https://api.github.com/repos/tochman/TakeMeAway/hooks","issue_events_url":"https://api.github.com/repos/tochman/TakeMeAway/issues/events{/number}","events_url":"https://api.github.com/repos/tochman/TakeMeAway/events","assignees_url":"https://api.github.com/repos/tochman/TakeMeAway/assignees{/user}","branches_url":"https://api.github.com/repos/tochman/TakeMeAway/branches{/branch}","tags_url":"https://api.github.com/repos/tochman/TakeMeAway/tags","blobs_url":"https://api.github.com/repos/tochman/TakeMeAway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tochman/TakeMeAway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tochman/TakeMeAway/git/refs{/sha}","trees_url":"https://api.github.com/repos/tochman/TakeMeAway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tochman/TakeMeAway/statuses/{sha}","languages_url":"https://api.github.com/repos/tochman/TakeMeAway/languages","stargazers_url":"https://api.github.com/repos/tochman/TakeMeAway/stargazers","contributors_url":"https://api.github.com/repos/tochman/TakeMeAway/contributors","subscribers_url":"https://api.github.com/repos/tochman/TakeMeAway/subscribers","subscription_url":"https://api.github.com/repos/tochman/TakeMeAway/subscription","commits_url":"https://api.github.com/repos/tochman/TakeMeAway/commits{/sha}","git_commits_url":"https://api.github.com/repos/tochman/TakeMeAway/git/commits{/sha}","comments_url":"https://api.github.com/repos/tochman/TakeMeAway/comments{/number}","issue_comment_url":"https://api.github.com/repos/tochman/TakeMeAway/issues/comments{/number}","contents_url":"https://api.github.com/repos/tochman/TakeMeAway/contents/{+path}","compare_url":"https://api.github.com/repos/tochman/TakeMeAway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tochman/TakeMeAway/merges","archive_url":"https://api.github.com/repos/tochman/TakeMeAway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tochman/TakeMeAway/downloads","issues_url":"https://api.github.com/repos/tochman/TakeMeAway/issues{/number}","pulls_url":"https://api.github.com/repos/tochman/TakeMeAway/pulls{/number}","milestones_url":"https://api.github.com/repos/tochman/TakeMeAway/milestones{/number}","notifications_url":"https://api.github.com/repos/tochman/TakeMeAway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tochman/TakeMeAway/labels{/name}","releases_url":"https://api.github.com/repos/tochman/TakeMeAway/releases{/id}","created_at":"2015-04-26T07:13:42Z","updated_at":"2015-04-29T07:02:16Z","pushed_at":"2015-04-30T14:47:05Z","git_url":"git://github.com/tochman/TakeMeAway.git","ssh_url":"git@github.com:tochman/TakeMeAway.git","clone_url":"https://github.com/tochman/TakeMeAway.git","svn_url":"https://github.com/tochman/TakeMeAway","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"0cd89be2de8fc249c5ec4a03f3eed4dbf6754002","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":33832549,"name":"TakeMeAway","full_name":"AgileVentures/TakeMeAway","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/TakeMeAway","description":"An online restaurant system to manage take away orders.","fork":false,"url":"https://api.github.com/repos/AgileVentures/TakeMeAway","forks_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/forks","keys_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/teams","hooks_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/events","assignees_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/tags","blobs_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/subscription","commits_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/merges","archive_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/downloads","issues_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/TakeMeAway/releases{/id}","created_at":"2015-04-12T20:26:14Z","updated_at":"2015-04-30T13:09:01Z","pushed_at":"2015-04-30T14:51:18Z","git_url":"git://github.com/AgileVentures/TakeMeAway.git","ssh_url":"git@github.com:AgileVentures/TakeMeAway.git","clone_url":"https://github.com/AgileVentures/TakeMeAway.git","svn_url":"https://github.com/AgileVentures/TakeMeAway","homepage":null,"size":549,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/21"},"html":{"href":"https://github.com/AgileVentures/TakeMeAway/pull/21"},"issue":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues/21"},"comments":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/TakeMeAway/statuses/5e9fb9d243d61955ab41059d39264720d183550e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":293,"deletions":69,"changed_files":24}}