{"action":"closed","number":537,"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/537","id":55419498,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/537","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/537.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/537.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/537","number":537,"state":"closed","locked":false,"title":"Challenge 10","user":{"login":"hevertoncastro","id":7852959,"avatar_url":"https://avatars.githubusercontent.com/u/7852959?v=3","gravatar_id":"","url":"https://api.github.com/users/hevertoncastro","html_url":"https://github.com/hevertoncastro","followers_url":"https://api.github.com/users/hevertoncastro/followers","following_url":"https://api.github.com/users/hevertoncastro/following{/other_user}","gists_url":"https://api.github.com/users/hevertoncastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hevertoncastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevertoncastro/subscriptions","organizations_url":"https://api.github.com/users/hevertoncastro/orgs","repos_url":"https://api.github.com/users/hevertoncastro/repos","events_url":"https://api.github.com/users/hevertoncastro/events{/privacy}","received_events_url":"https://api.github.com/users/hevertoncastro/received_events","type":"User","site_admin":false},"body":"Não sei se deveria usar a propriedade hasOwnProperty que ainda não vi em aula, mas pesquisei e optei por usar. Teria outra maneira?","created_at":"2016-01-08T02:57:34Z","updated_at":"2016-03-06T01:12:06Z","closed_at":"2016-03-06T01:12:06Z","merged_at":null,"merge_commit_sha":"9e71e522e7f2e94e2acfb406d43eaa206d570e8c","assignee":null,"milestone":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/10","html_url":"https://github.com/da2k/curso-javascript-ninja/milestones/%2310%20class","labels_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/10/labels","id":1146336,"number":10,"title":"#10 class","description":null,"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":1,"closed_issues":16,"state":"open","created_at":"2015-06-03T01:20:19Z","updated_at":"2016-03-06T01:12:06Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/537/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/537/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/537/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/7b6ab08aaac92768e8eb64a57d70fa794a6344e7","head":{"label":"hevertoncastro:challenge-10","ref":"challenge-10","sha":"7b6ab08aaac92768e8eb64a57d70fa794a6344e7","user":{"login":"hevertoncastro","id":7852959,"avatar_url":"https://avatars.githubusercontent.com/u/7852959?v=3","gravatar_id":"","url":"https://api.github.com/users/hevertoncastro","html_url":"https://github.com/hevertoncastro","followers_url":"https://api.github.com/users/hevertoncastro/followers","following_url":"https://api.github.com/users/hevertoncastro/following{/other_user}","gists_url":"https://api.github.com/users/hevertoncastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hevertoncastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevertoncastro/subscriptions","organizations_url":"https://api.github.com/users/hevertoncastro/orgs","repos_url":"https://api.github.com/users/hevertoncastro/repos","events_url":"https://api.github.com/users/hevertoncastro/events{/privacy}","received_events_url":"https://api.github.com/users/hevertoncastro/received_events","type":"User","site_admin":false},"repo":{"id":48071360,"name":"curso-javascript-ninja","full_name":"hevertoncastro/curso-javascript-ninja","owner":{"login":"hevertoncastro","id":7852959,"avatar_url":"https://avatars.githubusercontent.com/u/7852959?v=3","gravatar_id":"","url":"https://api.github.com/users/hevertoncastro","html_url":"https://github.com/hevertoncastro","followers_url":"https://api.github.com/users/hevertoncastro/followers","following_url":"https://api.github.com/users/hevertoncastro/following{/other_user}","gists_url":"https://api.github.com/users/hevertoncastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hevertoncastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevertoncastro/subscriptions","organizations_url":"https://api.github.com/users/hevertoncastro/orgs","repos_url":"https://api.github.com/users/hevertoncastro/repos","events_url":"https://api.github.com/users/hevertoncastro/events{/privacy}","received_events_url":"https://api.github.com/users/hevertoncastro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hevertoncastro/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja","forks_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/releases{/id}","deployments_url":"https://api.github.com/repos/hevertoncastro/curso-javascript-ninja/deployments","created_at":"2015-12-15T21:57:51Z","updated_at":"2016-01-27T18:28:30Z","pushed_at":"2016-03-03T16:38:46Z","git_url":"git://github.com/hevertoncastro/curso-javascript-ninja.git","ssh_url":"git@github.com:hevertoncastro/curso-javascript-ninja.git","clone_url":"https://github.com/hevertoncastro/curso-javascript-ninja.git","svn_url":"https://github.com/hevertoncastro/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":98,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"da2k:master","ref":"master","sha":"feae0deec862c0bf3c38d8e9ebf77dee9a1de9a5","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}","deployments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/deployments","created_at":"2015-02-17T00:57:58Z","updated_at":"2016-03-03T11:17:54Z","pushed_at":"2016-03-05T21:31:22Z","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":1319,"stargazers_count":65,"watchers_count":65,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":153,"forks":64,"open_issues":153,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/537"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/537"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/537"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/537/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/537/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/537/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/7b6ab08aaac92768e8eb64a57d70fa794a6344e7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":2,"commits":3,"additions":174,"deletions":97,"changed_files":1}}