{"action":"created","comment":{"url":"https://api.github.com/repos/elin3t/perl-oop/pulls/comments/43776991","id":43776991,"diff_hunk":"@@ -0,0 +1,30 @@\n+package AddUserCmd;\n+\n+use strict;\n+use warnings;\n+use parent 'Command';\n+\n+use UserService;\n+use Output;\n+use Error;\n+\n+our @ISA = qw(Command);\n+\n+\n+sub excecute {\n+\n+    my $self = shift;\n+    my $user_service = shift || UserService->new();","path":"lib/AddUserCmd.pm","position":17,"original_position":17,"commit_id":"747fe7d85add5dabc0d63a1da96d5de3502564fe","original_commit_id":"747fe7d85add5dabc0d63a1da96d5de3502564fe","user":{"login":"elin3t","id":1403180,"avatar_url":"https://avatars.githubusercontent.com/u/1403180?v=3","gravatar_id":"","url":"https://api.github.com/users/elin3t","html_url":"https://github.com/elin3t","followers_url":"https://api.github.com/users/elin3t/followers","following_url":"https://api.github.com/users/elin3t/following{/other_user}","gists_url":"https://api.github.com/users/elin3t/gists{/gist_id}","starred_url":"https://api.github.com/users/elin3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elin3t/subscriptions","organizations_url":"https://api.github.com/users/elin3t/orgs","repos_url":"https://api.github.com/users/elin3t/repos","events_url":"https://api.github.com/users/elin3t/events{/privacy}","received_events_url":"https://api.github.com/users/elin3t/received_events","type":"User","site_admin":false},"body":"the 'shift' command is unnecessary  because the execute() will not send any parameter","created_at":"2015-11-03T17:15:11Z","updated_at":"2015-11-03T17:15:11Z","html_url":"https://github.com/elin3t/perl-oop/pull/21#discussion_r43776991","pull_request_url":"https://api.github.com/repos/elin3t/perl-oop/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/elin3t/perl-oop/pulls/comments/43776991"},"html":{"href":"https://github.com/elin3t/perl-oop/pull/21#discussion_r43776991"},"pull_request":{"href":"https://api.github.com/repos/elin3t/perl-oop/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/elin3t/perl-oop/pulls/21","id":49580728,"html_url":"https://github.com/elin3t/perl-oop/pull/21","diff_url":"https://github.com/elin3t/perl-oop/pull/21.diff","patch_url":"https://github.com/elin3t/perl-oop/pull/21.patch","issue_url":"https://api.github.com/repos/elin3t/perl-oop/issues/21","number":21,"state":"open","locked":false,"title":"Add add user command.","user":{"login":"manuellerena","id":12257602,"avatar_url":"https://avatars.githubusercontent.com/u/12257602?v=3","gravatar_id":"","url":"https://api.github.com/users/manuellerena","html_url":"https://github.com/manuellerena","followers_url":"https://api.github.com/users/manuellerena/followers","following_url":"https://api.github.com/users/manuellerena/following{/other_user}","gists_url":"https://api.github.com/users/manuellerena/gists{/gist_id}","starred_url":"https://api.github.com/users/manuellerena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuellerena/subscriptions","organizations_url":"https://api.github.com/users/manuellerena/orgs","repos_url":"https://api.github.com/users/manuellerena/repos","events_url":"https://api.github.com/users/manuellerena/events{/privacy}","received_events_url":"https://api.github.com/users/manuellerena/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-03T16:51:58Z","updated_at":"2015-11-03T17:15:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e97415c806a6ffbc87dabd252b1b9ee3fa3a65c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elin3t/perl-oop/pulls/21/commits","review_comments_url":"https://api.github.com/repos/elin3t/perl-oop/pulls/21/comments","review_comment_url":"https://api.github.com/repos/elin3t/perl-oop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elin3t/perl-oop/issues/21/comments","statuses_url":"https://api.github.com/repos/elin3t/perl-oop/statuses/747fe7d85add5dabc0d63a1da96d5de3502564fe","head":{"label":"elin3t:task-31","ref":"task-31","sha":"747fe7d85add5dabc0d63a1da96d5de3502564fe","user":{"login":"elin3t","id":1403180,"avatar_url":"https://avatars.githubusercontent.com/u/1403180?v=3","gravatar_id":"","url":"https://api.github.com/users/elin3t","html_url":"https://github.com/elin3t","followers_url":"https://api.github.com/users/elin3t/followers","following_url":"https://api.github.com/users/elin3t/following{/other_user}","gists_url":"https://api.github.com/users/elin3t/gists{/gist_id}","starred_url":"https://api.github.com/users/elin3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elin3t/subscriptions","organizations_url":"https://api.github.com/users/elin3t/orgs","repos_url":"https://api.github.com/users/elin3t/repos","events_url":"https://api.github.com/users/elin3t/events{/privacy}","received_events_url":"https://api.github.com/users/elin3t/received_events","type":"User","site_admin":false},"repo":{"id":45201902,"name":"perl-oop","full_name":"elin3t/perl-oop","owner":{"login":"elin3t","id":1403180,"avatar_url":"https://avatars.githubusercontent.com/u/1403180?v=3","gravatar_id":"","url":"https://api.github.com/users/elin3t","html_url":"https://github.com/elin3t","followers_url":"https://api.github.com/users/elin3t/followers","following_url":"https://api.github.com/users/elin3t/following{/other_user}","gists_url":"https://api.github.com/users/elin3t/gists{/gist_id}","starred_url":"https://api.github.com/users/elin3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elin3t/subscriptions","organizations_url":"https://api.github.com/users/elin3t/orgs","repos_url":"https://api.github.com/users/elin3t/repos","events_url":"https://api.github.com/users/elin3t/events{/privacy}","received_events_url":"https://api.github.com/users/elin3t/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elin3t/perl-oop","description":"","fork":false,"url":"https://api.github.com/repos/elin3t/perl-oop","forks_url":"https://api.github.com/repos/elin3t/perl-oop/forks","keys_url":"https://api.github.com/repos/elin3t/perl-oop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elin3t/perl-oop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elin3t/perl-oop/teams","hooks_url":"https://api.github.com/repos/elin3t/perl-oop/hooks","issue_events_url":"https://api.github.com/repos/elin3t/perl-oop/issues/events{/number}","events_url":"https://api.github.com/repos/elin3t/perl-oop/events","assignees_url":"https://api.github.com/repos/elin3t/perl-oop/assignees{/user}","branches_url":"https://api.github.com/repos/elin3t/perl-oop/branches{/branch}","tags_url":"https://api.github.com/repos/elin3t/perl-oop/tags","blobs_url":"https://api.github.com/repos/elin3t/perl-oop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elin3t/perl-oop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elin3t/perl-oop/git/refs{/sha}","trees_url":"https://api.github.com/repos/elin3t/perl-oop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elin3t/perl-oop/statuses/{sha}","languages_url":"https://api.github.com/repos/elin3t/perl-oop/languages","stargazers_url":"https://api.github.com/repos/elin3t/perl-oop/stargazers","contributors_url":"https://api.github.com/repos/elin3t/perl-oop/contributors","subscribers_url":"https://api.github.com/repos/elin3t/perl-oop/subscribers","subscription_url":"https://api.github.com/repos/elin3t/perl-oop/subscription","commits_url":"https://api.github.com/repos/elin3t/perl-oop/commits{/sha}","git_commits_url":"https://api.github.com/repos/elin3t/perl-oop/git/commits{/sha}","comments_url":"https://api.github.com/repos/elin3t/perl-oop/comments{/number}","issue_comment_url":"https://api.github.com/repos/elin3t/perl-oop/issues/comments{/number}","contents_url":"https://api.github.com/repos/elin3t/perl-oop/contents/{+path}","compare_url":"https://api.github.com/repos/elin3t/perl-oop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elin3t/perl-oop/merges","archive_url":"https://api.github.com/repos/elin3t/perl-oop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elin3t/perl-oop/downloads","issues_url":"https://api.github.com/repos/elin3t/perl-oop/issues{/number}","pulls_url":"https://api.github.com/repos/elin3t/perl-oop/pulls{/number}","milestones_url":"https://api.github.com/repos/elin3t/perl-oop/milestones{/number}","notifications_url":"https://api.github.com/repos/elin3t/perl-oop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elin3t/perl-oop/labels{/name}","releases_url":"https://api.github.com/repos/elin3t/perl-oop/releases{/id}","created_at":"2015-10-29T18:11:52Z","updated_at":"2015-10-30T20:26:27Z","pushed_at":"2015-11-03T17:07:57Z","git_url":"git://github.com/elin3t/perl-oop.git","ssh_url":"git@github.com:elin3t/perl-oop.git","clone_url":"https://github.com/elin3t/perl-oop.git","svn_url":"https://github.com/elin3t/perl-oop","homepage":null,"size":316,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"elin3t:master","ref":"master","sha":"d5d0d6b0be67ea9674420a6025448786ba0dd5a6","user":{"login":"elin3t","id":1403180,"avatar_url":"https://avatars.githubusercontent.com/u/1403180?v=3","gravatar_id":"","url":"https://api.github.com/users/elin3t","html_url":"https://github.com/elin3t","followers_url":"https://api.github.com/users/elin3t/followers","following_url":"https://api.github.com/users/elin3t/following{/other_user}","gists_url":"https://api.github.com/users/elin3t/gists{/gist_id}","starred_url":"https://api.github.com/users/elin3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elin3t/subscriptions","organizations_url":"https://api.github.com/users/elin3t/orgs","repos_url":"https://api.github.com/users/elin3t/repos","events_url":"https://api.github.com/users/elin3t/events{/privacy}","received_events_url":"https://api.github.com/users/elin3t/received_events","type":"User","site_admin":false},"repo":{"id":45201902,"name":"perl-oop","full_name":"elin3t/perl-oop","owner":{"login":"elin3t","id":1403180,"avatar_url":"https://avatars.githubusercontent.com/u/1403180?v=3","gravatar_id":"","url":"https://api.github.com/users/elin3t","html_url":"https://github.com/elin3t","followers_url":"https://api.github.com/users/elin3t/followers","following_url":"https://api.github.com/users/elin3t/following{/other_user}","gists_url":"https://api.github.com/users/elin3t/gists{/gist_id}","starred_url":"https://api.github.com/users/elin3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elin3t/subscriptions","organizations_url":"https://api.github.com/users/elin3t/orgs","repos_url":"https://api.github.com/users/elin3t/repos","events_url":"https://api.github.com/users/elin3t/events{/privacy}","received_events_url":"https://api.github.com/users/elin3t/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elin3t/perl-oop","description":"","fork":false,"url":"https://api.github.com/repos/elin3t/perl-oop","forks_url":"https://api.github.com/repos/elin3t/perl-oop/forks","keys_url":"https://api.github.com/repos/elin3t/perl-oop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elin3t/perl-oop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elin3t/perl-oop/teams","hooks_url":"https://api.github.com/repos/elin3t/perl-oop/hooks","issue_events_url":"https://api.github.com/repos/elin3t/perl-oop/issues/events{/number}","events_url":"https://api.github.com/repos/elin3t/perl-oop/events","assignees_url":"https://api.github.com/repos/elin3t/perl-oop/assignees{/user}","branches_url":"https://api.github.com/repos/elin3t/perl-oop/branches{/branch}","tags_url":"https://api.github.com/repos/elin3t/perl-oop/tags","blobs_url":"https://api.github.com/repos/elin3t/perl-oop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elin3t/perl-oop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elin3t/perl-oop/git/refs{/sha}","trees_url":"https://api.github.com/repos/elin3t/perl-oop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elin3t/perl-oop/statuses/{sha}","languages_url":"https://api.github.com/repos/elin3t/perl-oop/languages","stargazers_url":"https://api.github.com/repos/elin3t/perl-oop/stargazers","contributors_url":"https://api.github.com/repos/elin3t/perl-oop/contributors","subscribers_url":"https://api.github.com/repos/elin3t/perl-oop/subscribers","subscription_url":"https://api.github.com/repos/elin3t/perl-oop/subscription","commits_url":"https://api.github.com/repos/elin3t/perl-oop/commits{/sha}","git_commits_url":"https://api.github.com/repos/elin3t/perl-oop/git/commits{/sha}","comments_url":"https://api.github.com/repos/elin3t/perl-oop/comments{/number}","issue_comment_url":"https://api.github.com/repos/elin3t/perl-oop/issues/comments{/number}","contents_url":"https://api.github.com/repos/elin3t/perl-oop/contents/{+path}","compare_url":"https://api.github.com/repos/elin3t/perl-oop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elin3t/perl-oop/merges","archive_url":"https://api.github.com/repos/elin3t/perl-oop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elin3t/perl-oop/downloads","issues_url":"https://api.github.com/repos/elin3t/perl-oop/issues{/number}","pulls_url":"https://api.github.com/repos/elin3t/perl-oop/pulls{/number}","milestones_url":"https://api.github.com/repos/elin3t/perl-oop/milestones{/number}","notifications_url":"https://api.github.com/repos/elin3t/perl-oop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elin3t/perl-oop/labels{/name}","releases_url":"https://api.github.com/repos/elin3t/perl-oop/releases{/id}","created_at":"2015-10-29T18:11:52Z","updated_at":"2015-10-30T20:26:27Z","pushed_at":"2015-11-03T17:07:57Z","git_url":"git://github.com/elin3t/perl-oop.git","ssh_url":"git@github.com:elin3t/perl-oop.git","clone_url":"https://github.com/elin3t/perl-oop.git","svn_url":"https://github.com/elin3t/perl-oop","homepage":null,"size":316,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elin3t/perl-oop/pulls/21"},"html":{"href":"https://github.com/elin3t/perl-oop/pull/21"},"issue":{"href":"https://api.github.com/repos/elin3t/perl-oop/issues/21"},"comments":{"href":"https://api.github.com/repos/elin3t/perl-oop/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/elin3t/perl-oop/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/elin3t/perl-oop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elin3t/perl-oop/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/elin3t/perl-oop/statuses/747fe7d85add5dabc0d63a1da96d5de3502564fe"}}}}