{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/8","id":33815085,"html_url":"https://github.com/yoshdog/toy-robot-v2/pull/8","diff_url":"https://github.com/yoshdog/toy-robot-v2/pull/8.diff","patch_url":"https://github.com/yoshdog/toy-robot-v2/pull/8.patch","issue_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/8","number":8,"state":"closed","locked":false,"title":"Command pattern","user":{"login":"yoshdog","id":5410975,"avatar_url":"https://avatars.githubusercontent.com/u/5410975?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"body":"Refactor to using a Command Pattern.\r\n\r\nToyRobot becomes an command object factory","created_at":"2015-04-21T23:59:31Z","updated_at":"2015-04-21T23:59:36Z","closed_at":"2015-04-21T23:59:36Z","merged_at":"2015-04-21T23:59:36Z","merge_commit_sha":"89a1646f90542da04043fec800ec76e1c0eba46b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/8/commits","review_comments_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/8/comments","review_comment_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/8/comments","statuses_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/statuses/8aa34580c232e50bef327ed2ac016f275d655c8d","head":{"label":"yoshdog:command-pattern","ref":"command-pattern","sha":"8aa34580c232e50bef327ed2ac016f275d655c8d","user":{"login":"yoshdog","id":5410975,"avatar_url":"https://avatars.githubusercontent.com/u/5410975?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"repo":{"id":34115564,"name":"toy-robot-v2","full_name":"yoshdog/toy-robot-v2","owner":{"login":"yoshdog","id":5410975,"avatar_url":"https://avatars.githubusercontent.com/u/5410975?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yoshdog/toy-robot-v2","description":"My second attempt at the toy robot problem","fork":false,"url":"https://api.github.com/repos/yoshdog/toy-robot-v2","forks_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/forks","keys_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/teams","hooks_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/hooks","issue_events_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/events{/number}","events_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/events","assignees_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/assignees{/user}","branches_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/branches{/branch}","tags_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/tags","blobs_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/languages","stargazers_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/stargazers","contributors_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/contributors","subscribers_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/subscribers","subscription_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/subscription","commits_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/contents/{+path}","compare_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/merges","archive_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/downloads","issues_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues{/number}","pulls_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/labels{/name}","releases_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/releases{/id}","created_at":"2015-04-17T12:32:23Z","updated_at":"2015-04-20T23:26:59Z","pushed_at":"2015-04-21T23:59:36Z","git_url":"git://github.com/yoshdog/toy-robot-v2.git","ssh_url":"git@github.com:yoshdog/toy-robot-v2.git","clone_url":"https://github.com/yoshdog/toy-robot-v2.git","svn_url":"https://github.com/yoshdog/toy-robot-v2","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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yoshdog:master","ref":"master","sha":"852e121da017840712d6863c8192b82492a0f8e4","user":{"login":"yoshdog","id":5410975,"avatar_url":"https://avatars.githubusercontent.com/u/5410975?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"repo":{"id":34115564,"name":"toy-robot-v2","full_name":"yoshdog/toy-robot-v2","owner":{"login":"yoshdog","id":5410975,"avatar_url":"https://avatars.githubusercontent.com/u/5410975?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yoshdog/toy-robot-v2","description":"My second attempt at the toy robot problem","fork":false,"url":"https://api.github.com/repos/yoshdog/toy-robot-v2","forks_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/forks","keys_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/teams","hooks_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/hooks","issue_events_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/events{/number}","events_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/events","assignees_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/assignees{/user}","branches_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/branches{/branch}","tags_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/tags","blobs_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/languages","stargazers_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/stargazers","contributors_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/contributors","subscribers_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/subscribers","subscription_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/subscription","commits_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/contents/{+path}","compare_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/merges","archive_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/downloads","issues_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues{/number}","pulls_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/labels{/name}","releases_url":"https://api.github.com/repos/yoshdog/toy-robot-v2/releases{/id}","created_at":"2015-04-17T12:32:23Z","updated_at":"2015-04-20T23:26:59Z","pushed_at":"2015-04-21T23:59:36Z","git_url":"git://github.com/yoshdog/toy-robot-v2.git","ssh_url":"git@github.com:yoshdog/toy-robot-v2.git","clone_url":"https://github.com/yoshdog/toy-robot-v2.git","svn_url":"https://github.com/yoshdog/toy-robot-v2","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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/8"},"html":{"href":"https://github.com/yoshdog/toy-robot-v2/pull/8"},"issue":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/8"},"comments":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/yoshdog/toy-robot-v2/statuses/8aa34580c232e50bef327ed2ac016f275d655c8d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yoshdog","id":5410975,"avatar_url":"https://avatars.githubusercontent.com/u/5410975?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":10,"additions":357,"deletions":257,"changed_files":17}}