{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/pointbar/traffic-jam/pulls/7","id":83017207,"html_url":"https://github.com/pointbar/traffic-jam/pull/7","diff_url":"https://github.com/pointbar/traffic-jam/pull/7.diff","patch_url":"https://github.com/pointbar/traffic-jam/pull/7.patch","issue_url":"https://api.github.com/repos/pointbar/traffic-jam/issues/7","number":7,"state":"closed","locked":false,"title":"User Story 6 - Changer l'état de tous les feux de manière automatique","user":{"login":"pointbar","id":451908,"avatar_url":"https://avatars.githubusercontent.com/u/451908?v=3","gravatar_id":"","url":"https://api.github.com/users/pointbar","html_url":"https://github.com/pointbar","followers_url":"https://api.github.com/users/pointbar/followers","following_url":"https://api.github.com/users/pointbar/following{/other_user}","gists_url":"https://api.github.com/users/pointbar/gists{/gist_id}","starred_url":"https://api.github.com/users/pointbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointbar/subscriptions","organizations_url":"https://api.github.com/users/pointbar/orgs","repos_url":"https://api.github.com/users/pointbar/repos","events_url":"https://api.github.com/users/pointbar/events{/privacy}","received_events_url":"https://api.github.com/users/pointbar/received_events","type":"User","site_admin":false},"body":"### User Story 6 - Changer l'état de tous les feux de manière automatique\r\n\r\nEn tant qu'employé de Mairie je souhaite visualiser tous les feux afin de gérer le traffic de PomPomGali.\r\n\r\n[x] - doit faire passer les feux au vert toutes les 1'\r\n[x] - doit faire passer les feux au rouge toutes les 1'\r\n\r\nNotes :\r\n- Ajouter d'un *setInterval()* au démarrage\r\n- Ajouter une méthode *changeToGreen()*\r\n- Passer le feu dans l'état inverse de son état en ajoutant une méthode *toggleStatus()*\r\n- Notions: setInterval(), ternaire: (test) ? true : false, ","created_at":"2016-08-28T14:24:00Z","updated_at":"2016-08-28T15:43:46Z","closed_at":"2016-08-28T15:43:46Z","merged_at":"2016-08-28T15:43:46Z","merge_commit_sha":"c4925bb2a1b75d01fe161c6988f7d3e90cc4fc5b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pointbar/traffic-jam/pulls/7/commits","review_comments_url":"https://api.github.com/repos/pointbar/traffic-jam/pulls/7/comments","review_comment_url":"https://api.github.com/repos/pointbar/traffic-jam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pointbar/traffic-jam/issues/7/comments","statuses_url":"https://api.github.com/repos/pointbar/traffic-jam/statuses/d49cb9fe8a1c4112eedbe0c04d2271dcba5d1442","head":{"label":"pointbar:User-Story-6---Changer-l'état-de-tous-les-feux-de-manière-automatique","ref":"User-Story-6---Changer-l'état-de-tous-les-feux-de-manière-automatique","sha":"d49cb9fe8a1c4112eedbe0c04d2271dcba5d1442","user":{"login":"pointbar","id":451908,"avatar_url":"https://avatars.githubusercontent.com/u/451908?v=3","gravatar_id":"","url":"https://api.github.com/users/pointbar","html_url":"https://github.com/pointbar","followers_url":"https://api.github.com/users/pointbar/followers","following_url":"https://api.github.com/users/pointbar/following{/other_user}","gists_url":"https://api.github.com/users/pointbar/gists{/gist_id}","starred_url":"https://api.github.com/users/pointbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointbar/subscriptions","organizations_url":"https://api.github.com/users/pointbar/orgs","repos_url":"https://api.github.com/users/pointbar/repos","events_url":"https://api.github.com/users/pointbar/events{/privacy}","received_events_url":"https://api.github.com/users/pointbar/received_events","type":"User","site_admin":false},"repo":{"id":66734847,"name":"traffic-jam","full_name":"pointbar/traffic-jam","owner":{"login":"pointbar","id":451908,"avatar_url":"https://avatars.githubusercontent.com/u/451908?v=3","gravatar_id":"","url":"https://api.github.com/users/pointbar","html_url":"https://github.com/pointbar","followers_url":"https://api.github.com/users/pointbar/followers","following_url":"https://api.github.com/users/pointbar/following{/other_user}","gists_url":"https://api.github.com/users/pointbar/gists{/gist_id}","starred_url":"https://api.github.com/users/pointbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointbar/subscriptions","organizations_url":"https://api.github.com/users/pointbar/orgs","repos_url":"https://api.github.com/users/pointbar/repos","events_url":"https://api.github.com/users/pointbar/events{/privacy}","received_events_url":"https://api.github.com/users/pointbar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pointbar/traffic-jam","description":null,"fork":false,"url":"https://api.github.com/repos/pointbar/traffic-jam","forks_url":"https://api.github.com/repos/pointbar/traffic-jam/forks","keys_url":"https://api.github.com/repos/pointbar/traffic-jam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pointbar/traffic-jam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pointbar/traffic-jam/teams","hooks_url":"https://api.github.com/repos/pointbar/traffic-jam/hooks","issue_events_url":"https://api.github.com/repos/pointbar/traffic-jam/issues/events{/number}","events_url":"https://api.github.com/repos/pointbar/traffic-jam/events","assignees_url":"https://api.github.com/repos/pointbar/traffic-jam/assignees{/user}","branches_url":"https://api.github.com/repos/pointbar/traffic-jam/branches{/branch}","tags_url":"https://api.github.com/repos/pointbar/traffic-jam/tags","blobs_url":"https://api.github.com/repos/pointbar/traffic-jam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pointbar/traffic-jam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pointbar/traffic-jam/git/refs{/sha}","trees_url":"https://api.github.com/repos/pointbar/traffic-jam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pointbar/traffic-jam/statuses/{sha}","languages_url":"https://api.github.com/repos/pointbar/traffic-jam/languages","stargazers_url":"https://api.github.com/repos/pointbar/traffic-jam/stargazers","contributors_url":"https://api.github.com/repos/pointbar/traffic-jam/contributors","subscribers_url":"https://api.github.com/repos/pointbar/traffic-jam/subscribers","subscription_url":"https://api.github.com/repos/pointbar/traffic-jam/subscription","commits_url":"https://api.github.com/repos/pointbar/traffic-jam/commits{/sha}","git_commits_url":"https://api.github.com/repos/pointbar/traffic-jam/git/commits{/sha}","comments_url":"https://api.github.com/repos/pointbar/traffic-jam/comments{/number}","issue_comment_url":"https://api.github.com/repos/pointbar/traffic-jam/issues/comments{/number}","contents_url":"https://api.github.com/repos/pointbar/traffic-jam/contents/{+path}","compare_url":"https://api.github.com/repos/pointbar/traffic-jam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pointbar/traffic-jam/merges","archive_url":"https://api.github.com/repos/pointbar/traffic-jam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pointbar/traffic-jam/downloads","issues_url":"https://api.github.com/repos/pointbar/traffic-jam/issues{/number}","pulls_url":"https://api.github.com/repos/pointbar/traffic-jam/pulls{/number}","milestones_url":"https://api.github.com/repos/pointbar/traffic-jam/milestones{/number}","notifications_url":"https://api.github.com/repos/pointbar/traffic-jam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pointbar/traffic-jam/labels{/name}","releases_url":"https://api.github.com/repos/pointbar/traffic-jam/releases{/id}","deployments_url":"https://api.github.com/repos/pointbar/traffic-jam/deployments","created_at":"2016-08-27T20:46:53Z","updated_at":"2016-08-27T21:50:51Z","pushed_at":"2016-08-28T15:43:46Z","git_url":"git://github.com/pointbar/traffic-jam.git","ssh_url":"git@github.com:pointbar/traffic-jam.git","clone_url":"https://github.com/pointbar/traffic-jam.git","svn_url":"https://github.com/pointbar/traffic-jam","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pointbar:master","ref":"master","sha":"074edcbc0c47dfc76f2f96a308e4eddd5cb16f3a","user":{"login":"pointbar","id":451908,"avatar_url":"https://avatars.githubusercontent.com/u/451908?v=3","gravatar_id":"","url":"https://api.github.com/users/pointbar","html_url":"https://github.com/pointbar","followers_url":"https://api.github.com/users/pointbar/followers","following_url":"https://api.github.com/users/pointbar/following{/other_user}","gists_url":"https://api.github.com/users/pointbar/gists{/gist_id}","starred_url":"https://api.github.com/users/pointbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointbar/subscriptions","organizations_url":"https://api.github.com/users/pointbar/orgs","repos_url":"https://api.github.com/users/pointbar/repos","events_url":"https://api.github.com/users/pointbar/events{/privacy}","received_events_url":"https://api.github.com/users/pointbar/received_events","type":"User","site_admin":false},"repo":{"id":66734847,"name":"traffic-jam","full_name":"pointbar/traffic-jam","owner":{"login":"pointbar","id":451908,"avatar_url":"https://avatars.githubusercontent.com/u/451908?v=3","gravatar_id":"","url":"https://api.github.com/users/pointbar","html_url":"https://github.com/pointbar","followers_url":"https://api.github.com/users/pointbar/followers","following_url":"https://api.github.com/users/pointbar/following{/other_user}","gists_url":"https://api.github.com/users/pointbar/gists{/gist_id}","starred_url":"https://api.github.com/users/pointbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointbar/subscriptions","organizations_url":"https://api.github.com/users/pointbar/orgs","repos_url":"https://api.github.com/users/pointbar/repos","events_url":"https://api.github.com/users/pointbar/events{/privacy}","received_events_url":"https://api.github.com/users/pointbar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pointbar/traffic-jam","description":null,"fork":false,"url":"https://api.github.com/repos/pointbar/traffic-jam","forks_url":"https://api.github.com/repos/pointbar/traffic-jam/forks","keys_url":"https://api.github.com/repos/pointbar/traffic-jam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pointbar/traffic-jam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pointbar/traffic-jam/teams","hooks_url":"https://api.github.com/repos/pointbar/traffic-jam/hooks","issue_events_url":"https://api.github.com/repos/pointbar/traffic-jam/issues/events{/number}","events_url":"https://api.github.com/repos/pointbar/traffic-jam/events","assignees_url":"https://api.github.com/repos/pointbar/traffic-jam/assignees{/user}","branches_url":"https://api.github.com/repos/pointbar/traffic-jam/branches{/branch}","tags_url":"https://api.github.com/repos/pointbar/traffic-jam/tags","blobs_url":"https://api.github.com/repos/pointbar/traffic-jam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pointbar/traffic-jam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pointbar/traffic-jam/git/refs{/sha}","trees_url":"https://api.github.com/repos/pointbar/traffic-jam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pointbar/traffic-jam/statuses/{sha}","languages_url":"https://api.github.com/repos/pointbar/traffic-jam/languages","stargazers_url":"https://api.github.com/repos/pointbar/traffic-jam/stargazers","contributors_url":"https://api.github.com/repos/pointbar/traffic-jam/contributors","subscribers_url":"https://api.github.com/repos/pointbar/traffic-jam/subscribers","subscription_url":"https://api.github.com/repos/pointbar/traffic-jam/subscription","commits_url":"https://api.github.com/repos/pointbar/traffic-jam/commits{/sha}","git_commits_url":"https://api.github.com/repos/pointbar/traffic-jam/git/commits{/sha}","comments_url":"https://api.github.com/repos/pointbar/traffic-jam/comments{/number}","issue_comment_url":"https://api.github.com/repos/pointbar/traffic-jam/issues/comments{/number}","contents_url":"https://api.github.com/repos/pointbar/traffic-jam/contents/{+path}","compare_url":"https://api.github.com/repos/pointbar/traffic-jam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pointbar/traffic-jam/merges","archive_url":"https://api.github.com/repos/pointbar/traffic-jam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pointbar/traffic-jam/downloads","issues_url":"https://api.github.com/repos/pointbar/traffic-jam/issues{/number}","pulls_url":"https://api.github.com/repos/pointbar/traffic-jam/pulls{/number}","milestones_url":"https://api.github.com/repos/pointbar/traffic-jam/milestones{/number}","notifications_url":"https://api.github.com/repos/pointbar/traffic-jam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pointbar/traffic-jam/labels{/name}","releases_url":"https://api.github.com/repos/pointbar/traffic-jam/releases{/id}","deployments_url":"https://api.github.com/repos/pointbar/traffic-jam/deployments","created_at":"2016-08-27T20:46:53Z","updated_at":"2016-08-27T21:50:51Z","pushed_at":"2016-08-28T15:43:46Z","git_url":"git://github.com/pointbar/traffic-jam.git","ssh_url":"git@github.com:pointbar/traffic-jam.git","clone_url":"https://github.com/pointbar/traffic-jam.git","svn_url":"https://github.com/pointbar/traffic-jam","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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/pointbar/traffic-jam/pulls/7"},"html":{"href":"https://github.com/pointbar/traffic-jam/pull/7"},"issue":{"href":"https://api.github.com/repos/pointbar/traffic-jam/issues/7"},"comments":{"href":"https://api.github.com/repos/pointbar/traffic-jam/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/pointbar/traffic-jam/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/pointbar/traffic-jam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pointbar/traffic-jam/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/pointbar/traffic-jam/statuses/d49cb9fe8a1c4112eedbe0c04d2271dcba5d1442"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pointbar","id":451908,"avatar_url":"https://avatars.githubusercontent.com/u/451908?v=3","gravatar_id":"","url":"https://api.github.com/users/pointbar","html_url":"https://github.com/pointbar","followers_url":"https://api.github.com/users/pointbar/followers","following_url":"https://api.github.com/users/pointbar/following{/other_user}","gists_url":"https://api.github.com/users/pointbar/gists{/gist_id}","starred_url":"https://api.github.com/users/pointbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pointbar/subscriptions","organizations_url":"https://api.github.com/users/pointbar/orgs","repos_url":"https://api.github.com/users/pointbar/repos","events_url":"https://api.github.com/users/pointbar/events{/privacy}","received_events_url":"https://api.github.com/users/pointbar/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":28,"deletions":20,"changed_files":5}}
{"actor":{"display_login":"pointbar"}}