{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/36089406","id":36089406,"diff_hunk":"@@ -1,55 +1,4 @@\n Takeaway Challenge\n ==================\n \n-Instructions\n--------\n-* Challenge time: Friday, the entire day + the weekend if you need it\n-* Feel free to use google, your notes, books, etc but work on your own\n-* You must submit a pull request to this repo with your code by 9am Monday morning\n-\n-Task\n------\n-\n-* Fill out your learning plan self review for the week: https://github.com/makersacademy/learning_plan (if you haven't already)\n-* Fork this repo\n-* run the command 'bundle' in the project directory to ensure you have all the gems\n-* Write a Takeaway program with the following user stories:\n-\n-```\n-As a customer\n-So that I can check if I want to order something\n-I would like to see a list of dishes with prices\n-\n-As a customer\n-So that I can order the meal I want\n-I would like to be able to select some number of several available dishes\n-\n-As a customer\n-So that I can verify that my order is correct\n-I would like to check that the total I have been given matches the sum of the various dishes in my order\n-\n-As a customer\n-So that I am reassured that my order will be delivered on time\n-I would like to receive a text such as \"Thank you! Your order was placed and will be delivered before 18:52\" after I have ordered\n-```\n-\n-* Hints on functionality to implement:\n-  * ensure you have a list of dishes with prices\n-  * place the order by giving the list of dishes, their quantities and a number that should be the exact total. If the sum is not correct the method should raise an error, otherwise the customer is sent a text saying that the order was placed successfully and that it will be delivered 1 hour from now, e.g. \"Thank you! Your order was placed and will be delivered before 18:52\".\n-  * The text sending functionality should be implemented using Twilio API. You'll need to register for it. It’s free.\n-  * Use the twilio-ruby gem to access the API\n-  * Use a Gemfile to manage your gems\n-  * Make sure that your Takeaway is thoroughly tested and that you use mocks and/or stubs, as necessary to not to send texts when your tests are run\n-  * However, if your Takeaway is loaded into IRB and the order is placed, the text should actually be sent\n-\n-* Advanced! (have a go if you're feeling adventurous):\n-  * Implement the ability to place orders via text message.\n-\n-* A free account on Twilio will only allow you to send texts to \"verified\" numbers. Use your mobile phone number, don't worry about the customer's mobile phone.\n-* Finally submit a pull request before Monday at 9am with your solution or partial solution.  However much or little amount of code you wrote please please please submit a pull request before Monday at 9am\n-\n-\n-**Note: We are looking for good OO design and programming! Remember the Single Responsibility and Dependency Injection/Inversion principles!**\n-\n-[![Build Status](https://travis-ci.org/makersacademy/takeaway-challenge.svg?branch=master)](https://travis-ci.org/makersacademy/takeaway-challenge)\n-[![Coverage Status](https://coveralls.io/repos/makersacademy/takeaway-challenge/badge.png)](https://coveralls.io/r/makersacademy/takeaway-challenge)\n+A program to allow customers to view and order from a takeaway menu.","path":"README.md","position":56,"original_position":56,"commit_id":"b5e996e40d567bdd46b6d6f7b9df99e72f585af7","original_commit_id":"b5e996e40d567bdd46b6d6f7b9df99e72f585af7","user":{"login":"danldb","id":6850045,"avatar_url":"https://avatars.githubusercontent.com/u/6850045?v=3","gravatar_id":"","url":"https://api.github.com/users/danldb","html_url":"https://github.com/danldb","followers_url":"https://api.github.com/users/danldb/followers","following_url":"https://api.github.com/users/danldb/following{/other_user}","gists_url":"https://api.github.com/users/danldb/gists{/gist_id}","starred_url":"https://api.github.com/users/danldb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danldb/subscriptions","organizations_url":"https://api.github.com/users/danldb/orgs","repos_url":"https://api.github.com/users/danldb/repos","events_url":"https://api.github.com/users/danldb/events{/privacy}","received_events_url":"https://api.github.com/users/danldb/received_events","type":"User","site_admin":false},"body":"Need much more info here - what were the learning objectives, what difficulties did you overcome, what does the final product look like, what gems did you use, etc.","created_at":"2015-08-03T14:22:55Z","updated_at":"2015-08-03T14:22:55Z","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/93#discussion_r36089406","pull_request_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/36089406"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/93#discussion_r36089406"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93","id":41383070,"html_url":"https://github.com/makersacademy/takeaway-challenge/pull/93","diff_url":"https://github.com/makersacademy/takeaway-challenge/pull/93.diff","patch_url":"https://github.com/makersacademy/takeaway-challenge/pull/93.patch","issue_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/93","number":93,"state":"open","locked":false,"title":"Initial commit - Added feature_spec, takeaway_spec & takeaway class, …","user":{"login":"RichardCharman","id":12716756,"avatar_url":"https://avatars.githubusercontent.com/u/12716756?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardCharman","html_url":"https://github.com/RichardCharman","followers_url":"https://api.github.com/users/RichardCharman/followers","following_url":"https://api.github.com/users/RichardCharman/following{/other_user}","gists_url":"https://api.github.com/users/RichardCharman/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardCharman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardCharman/subscriptions","organizations_url":"https://api.github.com/users/RichardCharman/orgs","repos_url":"https://api.github.com/users/RichardCharman/repos","events_url":"https://api.github.com/users/RichardCharman/events{/privacy}","received_events_url":"https://api.github.com/users/RichardCharman/received_events","type":"User","site_admin":false},"body":"…with opening tests for menu","created_at":"2015-07-31T21:32:30Z","updated_at":"2015-08-03T14:22:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2224bd70578fc69022ac744231886eac946ee51e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93/commits","review_comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93/comments","review_comment_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/93/comments","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/b5e996e40d567bdd46b6d6f7b9df99e72f585af7","head":{"label":"RichardCharman:master","ref":"master","sha":"b5e996e40d567bdd46b6d6f7b9df99e72f585af7","user":{"login":"RichardCharman","id":12716756,"avatar_url":"https://avatars.githubusercontent.com/u/12716756?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardCharman","html_url":"https://github.com/RichardCharman","followers_url":"https://api.github.com/users/RichardCharman/followers","following_url":"https://api.github.com/users/RichardCharman/following{/other_user}","gists_url":"https://api.github.com/users/RichardCharman/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardCharman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardCharman/subscriptions","organizations_url":"https://api.github.com/users/RichardCharman/orgs","repos_url":"https://api.github.com/users/RichardCharman/repos","events_url":"https://api.github.com/users/RichardCharman/events{/privacy}","received_events_url":"https://api.github.com/users/RichardCharman/received_events","type":"User","site_admin":false},"repo":{"id":40023348,"name":"takeaway-challenge","full_name":"RichardCharman/takeaway-challenge","owner":{"login":"RichardCharman","id":12716756,"avatar_url":"https://avatars.githubusercontent.com/u/12716756?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardCharman","html_url":"https://github.com/RichardCharman","followers_url":"https://api.github.com/users/RichardCharman/followers","following_url":"https://api.github.com/users/RichardCharman/following{/other_user}","gists_url":"https://api.github.com/users/RichardCharman/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardCharman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardCharman/subscriptions","organizations_url":"https://api.github.com/users/RichardCharman/orgs","repos_url":"https://api.github.com/users/RichardCharman/repos","events_url":"https://api.github.com/users/RichardCharman/events{/privacy}","received_events_url":"https://api.github.com/users/RichardCharman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RichardCharman/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":true,"url":"https://api.github.com/repos/RichardCharman/takeaway-challenge","forks_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/RichardCharman/takeaway-challenge/releases{/id}","created_at":"2015-07-31T20:21:50Z","updated_at":"2015-07-31T20:21:51Z","pushed_at":"2015-08-02T20:35:24Z","git_url":"git://github.com/RichardCharman/takeaway-challenge.git","ssh_url":"git@github.com:RichardCharman/takeaway-challenge.git","clone_url":"https://github.com/RichardCharman/takeaway-challenge.git","svn_url":"https://github.com/RichardCharman/takeaway-challenge","homepage":null,"size":103,"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":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"c72389fb9a94afdc4f48ce975d62221751715c7a","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006189,"name":"takeaway-challenge","full_name":"makersacademy/takeaway-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":false,"url":"https://api.github.com/repos/makersacademy/takeaway-challenge","forks_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/releases{/id}","created_at":"2014-11-22T17:19:46Z","updated_at":"2015-08-03T10:38:46Z","pushed_at":"2015-08-03T12:23:43Z","git_url":"git://github.com/makersacademy/takeaway-challenge.git","ssh_url":"git@github.com:makersacademy/takeaway-challenge.git","clone_url":"https://github.com/makersacademy/takeaway-challenge.git","svn_url":"https://github.com/makersacademy/takeaway-challenge","homepage":null,"size":2324,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":27,"forks":105,"open_issues":27,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/93"},"issue":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/93"},"comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/b5e996e40d567bdd46b6d6f7b9df99e72f585af7"}}}}