{"action":"created","comment":{"url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/comments/199279168","pull_request_review_id":133374267,"id":199279168,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTI3OTE2OA==","diff_hunk":"@@ -0,0 +1,70 @@\n+// “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live”\n+// \n+// THIS IS A JAVASCRIPT-LIKE CODE IMPLEMENTING THE SCHEDULING OF BATHS AND VETERINARIANS ON THE PET STORE CASE.\n+// \n+// PLEASE REVIEW THIS CODE TO GET IT AS CLEAN AS POSSIBLE. JUSTIFY YOUR CHANGES.\n+// \n+\n+\n+var c;\n+\n+public class Costumer {\n+\n+\tconstructor(name, address, petName1, petName2, petName3, petName4, phoneNumber) {\n+\t\tthis.name = height;\n+\t\tthis.address = address;\n+\t\tthis.petNames = [petName1, petName2, petName3, petName4];\n+\t\tthis.phoneNumber = phoneNumber;\n+\t}\n+\tpublic getCustomer(id) {\n+\t\treturn $http.get('myServer.com/getCustomer?id=' + id);\n+\t}\n+\tstatic all() {\n+\t\treturn $http.get('myServer.com/returnAllCustomers');\n+\t}\n+};\n+\n+public class Schedule {\n+\tconstructor(dia, hora, duracao, customerId, type, serviceDescription, otherInfo) {","path":"cleanCodeExercise.js","position":28,"original_position":28,"commit_id":"fab63dba85252c1cfc5813892fa68a2751a509f3","original_commit_id":"fab63dba85252c1cfc5813892fa68a2751a509f3","user":{"login":"rafaelmeira","id":7901838,"node_id":"MDQ6VXNlcjc5MDE4Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7901838?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaelmeira","html_url":"https://github.com/rafaelmeira","followers_url":"https://api.github.com/users/rafaelmeira/followers","following_url":"https://api.github.com/users/rafaelmeira/following{/other_user}","gists_url":"https://api.github.com/users/rafaelmeira/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelmeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelmeira/subscriptions","organizations_url":"https://api.github.com/users/rafaelmeira/orgs","repos_url":"https://api.github.com/users/rafaelmeira/repos","events_url":"https://api.github.com/users/rafaelmeira/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelmeira/received_events","type":"User","site_admin":false},"body":"variavel serviceDescription não está sendo atribuida para nenhum atributo da classe\r\ncriar this.serviceDescription  = serviceDescription;","created_at":"2018-06-29T21:00:20Z","updated_at":"2018-06-29T21:20:08Z","html_url":"https://github.com/fmarques2/fsd-2-cleancode/pull/13#discussion_r199279168","pull_request_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/comments/199279168"},"html":{"href":"https://github.com/fmarques2/fsd-2-cleancode/pull/13#discussion_r199279168"},"pull_request":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13","id":198396797,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4Mzk2Nzk3","html_url":"https://github.com/fmarques2/fsd-2-cleancode/pull/13","diff_url":"https://github.com/fmarques2/fsd-2-cleancode/pull/13.diff","patch_url":"https://github.com/fmarques2/fsd-2-cleancode/pull/13.patch","issue_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/13","number":13,"state":"open","locked":false,"title":"Create cleanCodeExercise.js","user":{"login":"fmarques2","id":17281643,"node_id":"MDQ6VXNlcjE3MjgxNjQz","avatar_url":"https://avatars3.githubusercontent.com/u/17281643?v=4","gravatar_id":"","url":"https://api.github.com/users/fmarques2","html_url":"https://github.com/fmarques2","followers_url":"https://api.github.com/users/fmarques2/followers","following_url":"https://api.github.com/users/fmarques2/following{/other_user}","gists_url":"https://api.github.com/users/fmarques2/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarques2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarques2/subscriptions","organizations_url":"https://api.github.com/users/fmarques2/orgs","repos_url":"https://api.github.com/users/fmarques2/repos","events_url":"https://api.github.com/users/fmarques2/events{/privacy}","received_events_url":"https://api.github.com/users/fmarques2/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-29T18:52:02Z","updated_at":"2018-06-29T21:20:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86c46384fe49464673b3c04b318535c03a3d453d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13/commits","review_comments_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13/comments","review_comment_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/13/comments","statuses_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/statuses/fab63dba85252c1cfc5813892fa68a2751a509f3","head":{"label":"fmarques2:rafaelmeira","ref":"rafaelmeira","sha":"fab63dba85252c1cfc5813892fa68a2751a509f3","user":{"login":"fmarques2","id":17281643,"node_id":"MDQ6VXNlcjE3MjgxNjQz","avatar_url":"https://avatars3.githubusercontent.com/u/17281643?v=4","gravatar_id":"","url":"https://api.github.com/users/fmarques2","html_url":"https://github.com/fmarques2","followers_url":"https://api.github.com/users/fmarques2/followers","following_url":"https://api.github.com/users/fmarques2/following{/other_user}","gists_url":"https://api.github.com/users/fmarques2/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarques2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarques2/subscriptions","organizations_url":"https://api.github.com/users/fmarques2/orgs","repos_url":"https://api.github.com/users/fmarques2/repos","events_url":"https://api.github.com/users/fmarques2/events{/privacy}","received_events_url":"https://api.github.com/users/fmarques2/received_events","type":"User","site_admin":false},"repo":{"id":118769168,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg3NjkxNjg=","name":"fsd-2-cleancode","full_name":"fmarques2/fsd-2-cleancode","owner":{"login":"fmarques2","id":17281643,"node_id":"MDQ6VXNlcjE3MjgxNjQz","avatar_url":"https://avatars3.githubusercontent.com/u/17281643?v=4","gravatar_id":"","url":"https://api.github.com/users/fmarques2","html_url":"https://github.com/fmarques2","followers_url":"https://api.github.com/users/fmarques2/followers","following_url":"https://api.github.com/users/fmarques2/following{/other_user}","gists_url":"https://api.github.com/users/fmarques2/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarques2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarques2/subscriptions","organizations_url":"https://api.github.com/users/fmarques2/orgs","repos_url":"https://api.github.com/users/fmarques2/repos","events_url":"https://api.github.com/users/fmarques2/events{/privacy}","received_events_url":"https://api.github.com/users/fmarques2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fmarques2/fsd-2-cleancode","description":null,"fork":false,"url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode","forks_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/forks","keys_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/teams","hooks_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/hooks","issue_events_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/events{/number}","events_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/events","assignees_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/assignees{/user}","branches_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/branches{/branch}","tags_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/tags","blobs_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/statuses/{sha}","languages_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/languages","stargazers_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/stargazers","contributors_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/contributors","subscribers_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/subscribers","subscription_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/subscription","commits_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/comments{/number}","contents_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/contents/{+path}","compare_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/merges","archive_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/downloads","issues_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues{/number}","pulls_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls{/number}","milestones_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/milestones{/number}","notifications_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/labels{/name}","releases_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/releases{/id}","deployments_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/deployments","created_at":"2018-01-24T13:29:53Z","updated_at":"2018-01-24T13:47:16Z","pushed_at":"2018-06-29T18:52:03Z","git_url":"git://github.com/fmarques2/fsd-2-cleancode.git","ssh_url":"git@github.com:fmarques2/fsd-2-cleancode.git","clone_url":"https://github.com/fmarques2/fsd-2-cleancode.git","svn_url":"https://github.com/fmarques2/fsd-2-cleancode","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"fmarques2:master","ref":"master","sha":"a35fa8a308ec0403dc1a3fd4d7a10e1a7e479d9f","user":{"login":"fmarques2","id":17281643,"node_id":"MDQ6VXNlcjE3MjgxNjQz","avatar_url":"https://avatars3.githubusercontent.com/u/17281643?v=4","gravatar_id":"","url":"https://api.github.com/users/fmarques2","html_url":"https://github.com/fmarques2","followers_url":"https://api.github.com/users/fmarques2/followers","following_url":"https://api.github.com/users/fmarques2/following{/other_user}","gists_url":"https://api.github.com/users/fmarques2/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarques2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarques2/subscriptions","organizations_url":"https://api.github.com/users/fmarques2/orgs","repos_url":"https://api.github.com/users/fmarques2/repos","events_url":"https://api.github.com/users/fmarques2/events{/privacy}","received_events_url":"https://api.github.com/users/fmarques2/received_events","type":"User","site_admin":false},"repo":{"id":118769168,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg3NjkxNjg=","name":"fsd-2-cleancode","full_name":"fmarques2/fsd-2-cleancode","owner":{"login":"fmarques2","id":17281643,"node_id":"MDQ6VXNlcjE3MjgxNjQz","avatar_url":"https://avatars3.githubusercontent.com/u/17281643?v=4","gravatar_id":"","url":"https://api.github.com/users/fmarques2","html_url":"https://github.com/fmarques2","followers_url":"https://api.github.com/users/fmarques2/followers","following_url":"https://api.github.com/users/fmarques2/following{/other_user}","gists_url":"https://api.github.com/users/fmarques2/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarques2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarques2/subscriptions","organizations_url":"https://api.github.com/users/fmarques2/orgs","repos_url":"https://api.github.com/users/fmarques2/repos","events_url":"https://api.github.com/users/fmarques2/events{/privacy}","received_events_url":"https://api.github.com/users/fmarques2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fmarques2/fsd-2-cleancode","description":null,"fork":false,"url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode","forks_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/forks","keys_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/teams","hooks_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/hooks","issue_events_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/events{/number}","events_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/events","assignees_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/assignees{/user}","branches_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/branches{/branch}","tags_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/tags","blobs_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/statuses/{sha}","languages_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/languages","stargazers_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/stargazers","contributors_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/contributors","subscribers_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/subscribers","subscription_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/subscription","commits_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/comments{/number}","contents_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/contents/{+path}","compare_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/merges","archive_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/downloads","issues_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues{/number}","pulls_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls{/number}","milestones_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/milestones{/number}","notifications_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/labels{/name}","releases_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/releases{/id}","deployments_url":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/deployments","created_at":"2018-01-24T13:29:53Z","updated_at":"2018-01-24T13:47:16Z","pushed_at":"2018-06-29T18:52:03Z","git_url":"git://github.com/fmarques2/fsd-2-cleancode.git","ssh_url":"git@github.com:fmarques2/fsd-2-cleancode.git","clone_url":"https://github.com/fmarques2/fsd-2-cleancode.git","svn_url":"https://github.com/fmarques2/fsd-2-cleancode","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13"},"html":{"href":"https://github.com/fmarques2/fsd-2-cleancode/pull/13"},"issue":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/13"},"comments":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/fmarques2/fsd-2-cleancode/statuses/fab63dba85252c1cfc5813892fa68a2751a509f3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"rafaelmeira"}}