{"action":"created","comment":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/35498484","id":35498484,"diff_hunk":"@@ -150,8 +180,28 @@ deve conter no retorno da frase acima é \"metro\" no lugar de \"metros\".\n método), que será concatenada com a frase de retorno, mostrando a resposta\n correta, de acordo com os dados inseridos no objeto.\n */\n-?\n+pessoa.apresentacao = function (){\n+\tvar sexo = 'o';\n+\tvar idade = 'anos';\n+\tvar qtdMetros = 'metros';\n+\n+\tif ( pessoa.sexo === 'Feminino' ){\n+\t\tsexo = 'a';\n+\t}\n+\n+\tif ( pessoa.idade === 1 ){\n+\t\tidade = 'ano';\n+\t}\n+\n+\tif ( pessoa.caminhouQuantosMetros === 1) {\n+\t\tqtdMetros = 'metro';\n+\t}\n+\n+\n+\treturn 'Olá, eu sou ' + sexo + ' ' + pessoa.nome + ' ' + pessoa.sobrenome + ', tenho ' + pessoa.idade + ' ' + idade + ', ' + pessoa.altura + ', meu peso é ' + pessoa.peso + ' e, só hoje, eu já caminhei ' + pessoa.caminhouQuantosMetros + ' ' + qtdMetros + '!'","path":"challenge-03/README.md","position":200,"original_position":200,"commit_id":"d56607f0942d2c0594b9c73dc0500a3008e5b051","original_commit_id":"d56607f0942d2c0594b9c73dc0500a3008e5b051","user":{"login":"fdaciuk","id":487669,"avatar_url":"https://avatars.githubusercontent.com/u/487669?v=3","gravatar_id":"","url":"https://api.github.com/users/fdaciuk","html_url":"https://github.com/fdaciuk","followers_url":"https://api.github.com/users/fdaciuk/followers","following_url":"https://api.github.com/users/fdaciuk/following{/other_user}","gists_url":"https://api.github.com/users/fdaciuk/gists{/gist_id}","starred_url":"https://api.github.com/users/fdaciuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdaciuk/subscriptions","organizations_url":"https://api.github.com/users/fdaciuk/orgs","repos_url":"https://api.github.com/users/fdaciuk/repos","events_url":"https://api.github.com/users/fdaciuk/events{/privacy}","received_events_url":"https://api.github.com/users/fdaciuk/received_events","type":"User","site_admin":false},"body":"-1\r\nnão esqueça o `;` no final da expressão!","created_at":"2015-07-26T22:06:36Z","updated_at":"2015-07-26T22:06:36Z","html_url":"https://github.com/da2k/curso-javascript-ninja/pull/112#discussion_r35498484","pull_request_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/35498484"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/112#discussion_r35498484"},"pull_request":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112","id":35588762,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/112","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/112.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/112.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/112","number":112,"state":"open","locked":false,"title":"Challenge-03","user":{"login":"maxarouca","id":8810746,"avatar_url":"https://avatars.githubusercontent.com/u/8810746?v=3","gravatar_id":"","url":"https://api.github.com/users/maxarouca","html_url":"https://github.com/maxarouca","followers_url":"https://api.github.com/users/maxarouca/followers","following_url":"https://api.github.com/users/maxarouca/following{/other_user}","gists_url":"https://api.github.com/users/maxarouca/gists{/gist_id}","starred_url":"https://api.github.com/users/maxarouca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxarouca/subscriptions","organizations_url":"https://api.github.com/users/maxarouca/orgs","repos_url":"https://api.github.com/users/maxarouca/repos","events_url":"https://api.github.com/users/maxarouca/events{/privacy}","received_events_url":"https://api.github.com/users/maxarouca/received_events","type":"User","site_admin":false},"body":"Segue exercício atrasado da Aula 3.","created_at":"2015-05-17T15:36:43Z","updated_at":"2015-07-26T22:06:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6e8563a0fa71631a46b4dccd0c205f346687dca","assignee":null,"milestone":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/3","html_url":"https://github.com/da2k/curso-javascript-ninja/milestones/%233%20class","labels_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/3/labels","id":1066198,"number":3,"title":"#3 class","description":"","creator":{"login":"fdaciuk","id":487669,"avatar_url":"https://avatars.githubusercontent.com/u/487669?v=3","gravatar_id":"","url":"https://api.github.com/users/fdaciuk","html_url":"https://github.com/fdaciuk","followers_url":"https://api.github.com/users/fdaciuk/followers","following_url":"https://api.github.com/users/fdaciuk/following{/other_user}","gists_url":"https://api.github.com/users/fdaciuk/gists{/gist_id}","starred_url":"https://api.github.com/users/fdaciuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdaciuk/subscriptions","organizations_url":"https://api.github.com/users/fdaciuk/orgs","repos_url":"https://api.github.com/users/fdaciuk/repos","events_url":"https://api.github.com/users/fdaciuk/events{/privacy}","received_events_url":"https://api.github.com/users/fdaciuk/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":15,"state":"open","created_at":"2015-04-14T02:09:51Z","updated_at":"2015-07-05T20:39:51Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112/comments","review_comment_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments{/number}","comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/112/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/d56607f0942d2c0594b9c73dc0500a3008e5b051","head":{"label":"maxarouca:challenge-03","ref":"challenge-03","sha":"d56607f0942d2c0594b9c73dc0500a3008e5b051","user":{"login":"maxarouca","id":8810746,"avatar_url":"https://avatars.githubusercontent.com/u/8810746?v=3","gravatar_id":"","url":"https://api.github.com/users/maxarouca","html_url":"https://github.com/maxarouca","followers_url":"https://api.github.com/users/maxarouca/followers","following_url":"https://api.github.com/users/maxarouca/following{/other_user}","gists_url":"https://api.github.com/users/maxarouca/gists{/gist_id}","starred_url":"https://api.github.com/users/maxarouca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxarouca/subscriptions","organizations_url":"https://api.github.com/users/maxarouca/orgs","repos_url":"https://api.github.com/users/maxarouca/repos","events_url":"https://api.github.com/users/maxarouca/events{/privacy}","received_events_url":"https://api.github.com/users/maxarouca/received_events","type":"User","site_admin":false},"repo":{"id":33331364,"name":"curso-javascript-ninja","full_name":"maxarouca/curso-javascript-ninja","owner":{"login":"maxarouca","id":8810746,"avatar_url":"https://avatars.githubusercontent.com/u/8810746?v=3","gravatar_id":"","url":"https://api.github.com/users/maxarouca","html_url":"https://github.com/maxarouca","followers_url":"https://api.github.com/users/maxarouca/followers","following_url":"https://api.github.com/users/maxarouca/following{/other_user}","gists_url":"https://api.github.com/users/maxarouca/gists{/gist_id}","starred_url":"https://api.github.com/users/maxarouca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxarouca/subscriptions","organizations_url":"https://api.github.com/users/maxarouca/orgs","repos_url":"https://api.github.com/users/maxarouca/repos","events_url":"https://api.github.com/users/maxarouca/events{/privacy}","received_events_url":"https://api.github.com/users/maxarouca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxarouca/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja","forks_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/maxarouca/curso-javascript-ninja/releases{/id}","created_at":"2015-04-02T20:54:23Z","updated_at":"2015-04-27T12:20:46Z","pushed_at":"2015-07-23T15:54:09Z","git_url":"git://github.com/maxarouca/curso-javascript-ninja.git","ssh_url":"git@github.com:maxarouca/curso-javascript-ninja.git","clone_url":"https://github.com/maxarouca/curso-javascript-ninja.git","svn_url":"https://github.com/maxarouca/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":170,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"da2k:master","ref":"master","sha":"145c812d738e23f2b017da74f45467d39fc8bdb2","user":{"login":"da2k","id":11011075,"avatar_url":"https://avatars.githubusercontent.com/u/11011075?v=3","gravatar_id":"","url":"https://api.github.com/users/da2k","html_url":"https://github.com/da2k","followers_url":"https://api.github.com/users/da2k/followers","following_url":"https://api.github.com/users/da2k/following{/other_user}","gists_url":"https://api.github.com/users/da2k/gists{/gist_id}","starred_url":"https://api.github.com/users/da2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da2k/subscriptions","organizations_url":"https://api.github.com/users/da2k/orgs","repos_url":"https://api.github.com/users/da2k/repos","events_url":"https://api.github.com/users/da2k/events{/privacy}","received_events_url":"https://api.github.com/users/da2k/received_events","type":"Organization","site_admin":false},"repo":{"id":30896610,"name":"curso-javascript-ninja","full_name":"da2k/curso-javascript-ninja","owner":{"login":"da2k","id":11011075,"avatar_url":"https://avatars.githubusercontent.com/u/11011075?v=3","gravatar_id":"","url":"https://api.github.com/users/da2k","html_url":"https://github.com/da2k","followers_url":"https://api.github.com/users/da2k/followers","following_url":"https://api.github.com/users/da2k/following{/other_user}","gists_url":"https://api.github.com/users/da2k/gists{/gist_id}","starred_url":"https://api.github.com/users/da2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da2k/subscriptions","organizations_url":"https://api.github.com/users/da2k/orgs","repos_url":"https://api.github.com/users/da2k/repos","events_url":"https://api.github.com/users/da2k/events{/privacy}","received_events_url":"https://api.github.com/users/da2k/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/da2k/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":false,"url":"https://api.github.com/repos/da2k/curso-javascript-ninja","forks_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/releases{/id}","created_at":"2015-02-17T00:57:58Z","updated_at":"2015-07-20T01:12:40Z","pushed_at":"2015-07-26T20:16:20Z","git_url":"git://github.com/da2k/curso-javascript-ninja.git","ssh_url":"git@github.com:da2k/curso-javascript-ninja.git","clone_url":"https://github.com/da2k/curso-javascript-ninja.git","svn_url":"https://github.com/da2k/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":2073,"stargazers_count":34,"watchers_count":34,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":37,"forks":38,"open_issues":37,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/112"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/112"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/d56607f0942d2c0594b9c73dc0500a3008e5b051"}}}}