{"action":"created","issue":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/81","labels_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/81/comments","events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/81/events","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/81","id":90022105,"number":81,"title":"Nicola Hughes Week 2 Challenge Submit","user":{"login":"DataMinerUK","id":1016646,"avatar_url":"https://avatars.githubusercontent.com/u/1016646?v=3","gravatar_id":"","url":"https://api.github.com/users/DataMinerUK","html_url":"https://github.com/DataMinerUK","followers_url":"https://api.github.com/users/DataMinerUK/followers","following_url":"https://api.github.com/users/DataMinerUK/following{/other_user}","gists_url":"https://api.github.com/users/DataMinerUK/gists{/gist_id}","starred_url":"https://api.github.com/users/DataMinerUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataMinerUK/subscriptions","organizations_url":"https://api.github.com/users/DataMinerUK/orgs","repos_url":"https://api.github.com/users/DataMinerUK/repos","events_url":"https://api.github.com/users/DataMinerUK/events{/privacy}","received_events_url":"https://api.github.com/users/DataMinerUK/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"silvabox","id":3007273,"avatar_url":"https://avatars.githubusercontent.com/u/3007273?v=3","gravatar_id":"","url":"https://api.github.com/users/silvabox","html_url":"https://github.com/silvabox","followers_url":"https://api.github.com/users/silvabox/followers","following_url":"https://api.github.com/users/silvabox/following{/other_user}","gists_url":"https://api.github.com/users/silvabox/gists{/gist_id}","starred_url":"https://api.github.com/users/silvabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvabox/subscriptions","organizations_url":"https://api.github.com/users/silvabox/orgs","repos_url":"https://api.github.com/users/silvabox/repos","events_url":"https://api.github.com/users/silvabox/events{/privacy}","received_events_url":"https://api.github.com/users/silvabox/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-22T06:17:59Z","updated_at":"2015-06-25T10:43:13Z","closed_at":"2015-06-25T10:43:13Z","pull_request":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/81","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/81","diff_url":"https://github.com/makersacademy/takeaway-challenge/pull/81.diff","patch_url":"https://github.com/makersacademy/takeaway-challenge/pull/81.patch"},"body":"Not yet complete"},"comment":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/comments/115207537","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/81#issuecomment-115207537","issue_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/81","id":115207537,"user":{"login":"silvabox","id":3007273,"avatar_url":"https://avatars.githubusercontent.com/u/3007273?v=3","gravatar_id":"","url":"https://api.github.com/users/silvabox","html_url":"https://github.com/silvabox","followers_url":"https://api.github.com/users/silvabox/followers","following_url":"https://api.github.com/users/silvabox/following{/other_user}","gists_url":"https://api.github.com/users/silvabox/gists{/gist_id}","starred_url":"https://api.github.com/users/silvabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvabox/subscriptions","organizations_url":"https://api.github.com/users/silvabox/orgs","repos_url":"https://api.github.com/users/silvabox/repos","events_url":"https://api.github.com/users/silvabox/events{/privacy}","received_events_url":"https://api.github.com/users/silvabox/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T10:43:13Z","updated_at":"2015-06-25T10:43:13Z","body":"Hi Nicola, thanks for submitting your takeaway challenge!  As we talked about, your design is probably missing an order class which encapsulates the list of dishes and quantities.  Also, be careful of exposing implementation details (e.g. arrays and hashes) using `attr_reader`.\r\n\r\nWith the dependency on passing arrays, it's not really a complete solution - but I'm not too worried as I don't think you'd have any problems refactoring it.\r\n\r\n:construction: \r\n"}}