{"action":"created","comment":{"url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/comments/39875496","id":39875496,"diff_hunk":"@@ -0,0 +1,31 @@\n+class Deck\n+  attr_reader :name, :cards\n+  attr_accessor: :card_idx","path":"deck.rb","position":3,"original_position":3,"commit_id":"9474ec2e944804c12e4ed0fe88fa0f950be5c9b7","original_commit_id":"9474ec2e944804c12e4ed0fe88fa0f950be5c9b7","user":{"login":"lksevans12","id":11245958,"avatar_url":"https://avatars.githubusercontent.com/u/11245958?v=3","gravatar_id":"","url":"https://api.github.com/users/lksevans12","html_url":"https://github.com/lksevans12","followers_url":"https://api.github.com/users/lksevans12/followers","following_url":"https://api.github.com/users/lksevans12/following{/other_user}","gists_url":"https://api.github.com/users/lksevans12/gists{/gist_id}","starred_url":"https://api.github.com/users/lksevans12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lksevans12/subscriptions","organizations_url":"https://api.github.com/users/lksevans12/orgs","repos_url":"https://api.github.com/users/lksevans12/repos","events_url":"https://api.github.com/users/lksevans12/events{/privacy}","received_events_url":"https://api.github.com/users/lksevans12/received_events","type":"User","site_admin":false},"body":"@kimchanyoung you don't need a : after accessor, just before the attribute","created_at":"2015-09-18T16:44:33Z","updated_at":"2015-09-18T16:44:33Z","html_url":"https://github.com/lksevans12/flashcards-CLLJ/pull/7#discussion_r39875496","pull_request_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/comments/39875496"},"html":{"href":"https://github.com/lksevans12/flashcards-CLLJ/pull/7#discussion_r39875496"},"pull_request":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7","id":45427167,"html_url":"https://github.com/lksevans12/flashcards-CLLJ/pull/7","diff_url":"https://github.com/lksevans12/flashcards-CLLJ/pull/7.diff","patch_url":"https://github.com/lksevans12/flashcards-CLLJ/pull/7.patch","issue_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/7","number":7,"state":"open","locked":false,"title":"Chan/deck","user":{"login":"kimchanyoung","id":7969941,"avatar_url":"https://avatars.githubusercontent.com/u/7969941?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchanyoung","html_url":"https://github.com/kimchanyoung","followers_url":"https://api.github.com/users/kimchanyoung/followers","following_url":"https://api.github.com/users/kimchanyoung/following{/other_user}","gists_url":"https://api.github.com/users/kimchanyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchanyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchanyoung/subscriptions","organizations_url":"https://api.github.com/users/kimchanyoung/orgs","repos_url":"https://api.github.com/users/kimchanyoung/repos","events_url":"https://api.github.com/users/kimchanyoung/events{/privacy}","received_events_url":"https://api.github.com/users/kimchanyoung/received_events","type":"User","site_admin":false},"body":"Hey @lksevans12 , can you take a look at the code to make sure everything checks out?\r\n\r\n@LDinho , this is just a rough idea of what the deck class will look like; lmk if you want to discuss how they'll interact with the controller.\r\n\r\n@AgentWang007 I presumed that the Card class will have a \"guess\" and \"got_correct?\" methods that return booleans. The distinction I assumed was: \r\n- guess? receives a String and checks whether it's right\r\n- got_correct? returns whether the card was guessed correctly.","created_at":"2015-09-18T16:42:12Z","updated_at":"2015-09-18T16:44:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51697d88d99384a968b6287f62b3273a12922f0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7/commits","review_comments_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7/comments","review_comment_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/7/comments","statuses_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/statuses/9474ec2e944804c12e4ed0fe88fa0f950be5c9b7","head":{"label":"lksevans12:chan/deck","ref":"chan/deck","sha":"9474ec2e944804c12e4ed0fe88fa0f950be5c9b7","user":{"login":"lksevans12","id":11245958,"avatar_url":"https://avatars.githubusercontent.com/u/11245958?v=3","gravatar_id":"","url":"https://api.github.com/users/lksevans12","html_url":"https://github.com/lksevans12","followers_url":"https://api.github.com/users/lksevans12/followers","following_url":"https://api.github.com/users/lksevans12/following{/other_user}","gists_url":"https://api.github.com/users/lksevans12/gists{/gist_id}","starred_url":"https://api.github.com/users/lksevans12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lksevans12/subscriptions","organizations_url":"https://api.github.com/users/lksevans12/orgs","repos_url":"https://api.github.com/users/lksevans12/repos","events_url":"https://api.github.com/users/lksevans12/events{/privacy}","received_events_url":"https://api.github.com/users/lksevans12/received_events","type":"User","site_admin":false},"repo":{"id":42732747,"name":"flashcards-CLLJ","full_name":"lksevans12/flashcards-CLLJ","owner":{"login":"lksevans12","id":11245958,"avatar_url":"https://avatars.githubusercontent.com/u/11245958?v=3","gravatar_id":"","url":"https://api.github.com/users/lksevans12","html_url":"https://github.com/lksevans12","followers_url":"https://api.github.com/users/lksevans12/followers","following_url":"https://api.github.com/users/lksevans12/following{/other_user}","gists_url":"https://api.github.com/users/lksevans12/gists{/gist_id}","starred_url":"https://api.github.com/users/lksevans12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lksevans12/subscriptions","organizations_url":"https://api.github.com/users/lksevans12/orgs","repos_url":"https://api.github.com/users/lksevans12/repos","events_url":"https://api.github.com/users/lksevans12/events{/privacy}","received_events_url":"https://api.github.com/users/lksevans12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lksevans12/flashcards-CLLJ","description":"","fork":false,"url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ","forks_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/forks","keys_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/teams","hooks_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/hooks","issue_events_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/events{/number}","events_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/events","assignees_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/assignees{/user}","branches_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/branches{/branch}","tags_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/tags","blobs_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/refs{/sha}","trees_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/statuses/{sha}","languages_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/languages","stargazers_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/stargazers","contributors_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/contributors","subscribers_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/subscribers","subscription_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/subscription","commits_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/commits{/sha}","git_commits_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/commits{/sha}","comments_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/comments{/number}","issue_comment_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/comments{/number}","contents_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/contents/{+path}","compare_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/merges","archive_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/downloads","issues_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues{/number}","pulls_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls{/number}","milestones_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/milestones{/number}","notifications_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/labels{/name}","releases_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/releases{/id}","created_at":"2015-09-18T16:09:40Z","updated_at":"2015-09-18T16:26:20Z","pushed_at":"2015-09-18T16:42:53Z","git_url":"git://github.com/lksevans12/flashcards-CLLJ.git","ssh_url":"git@github.com:lksevans12/flashcards-CLLJ.git","clone_url":"https://github.com/lksevans12/flashcards-CLLJ.git","svn_url":"https://github.com/lksevans12/flashcards-CLLJ","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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"lksevans12:master","ref":"master","sha":"4da58343b107de996340fdf38468353f1fbd4ed3","user":{"login":"lksevans12","id":11245958,"avatar_url":"https://avatars.githubusercontent.com/u/11245958?v=3","gravatar_id":"","url":"https://api.github.com/users/lksevans12","html_url":"https://github.com/lksevans12","followers_url":"https://api.github.com/users/lksevans12/followers","following_url":"https://api.github.com/users/lksevans12/following{/other_user}","gists_url":"https://api.github.com/users/lksevans12/gists{/gist_id}","starred_url":"https://api.github.com/users/lksevans12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lksevans12/subscriptions","organizations_url":"https://api.github.com/users/lksevans12/orgs","repos_url":"https://api.github.com/users/lksevans12/repos","events_url":"https://api.github.com/users/lksevans12/events{/privacy}","received_events_url":"https://api.github.com/users/lksevans12/received_events","type":"User","site_admin":false},"repo":{"id":42732747,"name":"flashcards-CLLJ","full_name":"lksevans12/flashcards-CLLJ","owner":{"login":"lksevans12","id":11245958,"avatar_url":"https://avatars.githubusercontent.com/u/11245958?v=3","gravatar_id":"","url":"https://api.github.com/users/lksevans12","html_url":"https://github.com/lksevans12","followers_url":"https://api.github.com/users/lksevans12/followers","following_url":"https://api.github.com/users/lksevans12/following{/other_user}","gists_url":"https://api.github.com/users/lksevans12/gists{/gist_id}","starred_url":"https://api.github.com/users/lksevans12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lksevans12/subscriptions","organizations_url":"https://api.github.com/users/lksevans12/orgs","repos_url":"https://api.github.com/users/lksevans12/repos","events_url":"https://api.github.com/users/lksevans12/events{/privacy}","received_events_url":"https://api.github.com/users/lksevans12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lksevans12/flashcards-CLLJ","description":"","fork":false,"url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ","forks_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/forks","keys_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/teams","hooks_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/hooks","issue_events_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/events{/number}","events_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/events","assignees_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/assignees{/user}","branches_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/branches{/branch}","tags_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/tags","blobs_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/refs{/sha}","trees_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/statuses/{sha}","languages_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/languages","stargazers_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/stargazers","contributors_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/contributors","subscribers_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/subscribers","subscription_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/subscription","commits_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/commits{/sha}","git_commits_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/git/commits{/sha}","comments_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/comments{/number}","issue_comment_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/comments{/number}","contents_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/contents/{+path}","compare_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/merges","archive_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/downloads","issues_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues{/number}","pulls_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls{/number}","milestones_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/milestones{/number}","notifications_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/labels{/name}","releases_url":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/releases{/id}","created_at":"2015-09-18T16:09:40Z","updated_at":"2015-09-18T16:26:20Z","pushed_at":"2015-09-18T16:42:53Z","git_url":"git://github.com/lksevans12/flashcards-CLLJ.git","ssh_url":"git@github.com:lksevans12/flashcards-CLLJ.git","clone_url":"https://github.com/lksevans12/flashcards-CLLJ.git","svn_url":"https://github.com/lksevans12/flashcards-CLLJ","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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7"},"html":{"href":"https://github.com/lksevans12/flashcards-CLLJ/pull/7"},"issue":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/7"},"comments":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/lksevans12/flashcards-CLLJ/statuses/9474ec2e944804c12e4ed0fe88fa0f950be5c9b7"}}}}