{"action":"created","comment":{"url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/comments/55010095","id":55010095,"diff_hunk":"@@ -0,0 +1,53 @@\n+'use strict'\n+\n+class Service\n+  constructor: (@firebaseAuth) ->\n+    url = 'https://flickering-heat-3627.firebaseio.com'\n+    @auth = @firebaseAuth(new Firebase(url))\n+\n+  parseError: (error) ->\n+    switch error\n+      when 'INVALID_EMAIL'\n+        return 'The specified user account email is invalid.'\n+      when 'INVALID_PASSWORD'\n+        return 'The specified user account password is incorrect.'\n+      when 'INVALID_USER'\n+        return 'The specified user account does not exist.'\n+      when 'EMAIL_TAKEN'","path":"app/app-auth-service.coffee","position":null,"original_position":16,"commit_id":"dc8504faaeff1bd56598b549f04471765e88a0d3","original_commit_id":"c5dfb21d10e4a951a4b90787e3b4ebff7d43e12f","user":{"login":"danrevi","id":5079938,"avatar_url":"https://avatars.githubusercontent.com/u/5079938?v=3","gravatar_id":"","url":"https://api.github.com/users/danrevi","html_url":"https://github.com/danrevi","followers_url":"https://api.github.com/users/danrevi/followers","following_url":"https://api.github.com/users/danrevi/following{/other_user}","gists_url":"https://api.github.com/users/danrevi/gists{/gist_id}","starred_url":"https://api.github.com/users/danrevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrevi/subscriptions","organizations_url":"https://api.github.com/users/danrevi/orgs","repos_url":"https://api.github.com/users/danrevi/repos","events_url":"https://api.github.com/users/danrevi/events{/privacy}","received_events_url":"https://api.github.com/users/danrevi/received_events","type":"User","site_admin":false},"body":"Modified.","created_at":"2016-03-04T09:49:43Z","updated_at":"2016-03-04T09:49:43Z","html_url":"https://github.com/GraduatesTraining/examsApp_Daniel/pull/2#discussion_r55010095","pull_request_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/comments/55010095"},"html":{"href":"https://github.com/GraduatesTraining/examsApp_Daniel/pull/2#discussion_r55010095"},"pull_request":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2","id":61272663,"html_url":"https://github.com/GraduatesTraining/examsApp_Daniel/pull/2","diff_url":"https://github.com/GraduatesTraining/examsApp_Daniel/pull/2.diff","patch_url":"https://github.com/GraduatesTraining/examsApp_Daniel/pull/2.patch","issue_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/2","number":2,"state":"open","locked":false,"title":"Main toolbar done.","user":{"login":"danrevi","id":5079938,"avatar_url":"https://avatars.githubusercontent.com/u/5079938?v=3","gravatar_id":"","url":"https://api.github.com/users/danrevi","html_url":"https://github.com/danrevi","followers_url":"https://api.github.com/users/danrevi/followers","following_url":"https://api.github.com/users/danrevi/following{/other_user}","gists_url":"https://api.github.com/users/danrevi/gists{/gist_id}","starred_url":"https://api.github.com/users/danrevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrevi/subscriptions","organizations_url":"https://api.github.com/users/danrevi/orgs","repos_url":"https://api.github.com/users/danrevi/repos","events_url":"https://api.github.com/users/danrevi/events{/privacy}","received_events_url":"https://api.github.com/users/danrevi/received_events","type":"User","site_admin":false},"body":"Added exams, stats and settings modules.","created_at":"2016-03-01T16:53:51Z","updated_at":"2016-03-04T09:49:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1783fca022edc892e97fdf1a4ef7f1573fdb566c","assignee":{"login":"fmarcos83","id":511721,"avatar_url":"https://avatars.githubusercontent.com/u/511721?v=3","gravatar_id":"","url":"https://api.github.com/users/fmarcos83","html_url":"https://github.com/fmarcos83","followers_url":"https://api.github.com/users/fmarcos83/followers","following_url":"https://api.github.com/users/fmarcos83/following{/other_user}","gists_url":"https://api.github.com/users/fmarcos83/gists{/gist_id}","starred_url":"https://api.github.com/users/fmarcos83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmarcos83/subscriptions","organizations_url":"https://api.github.com/users/fmarcos83/orgs","repos_url":"https://api.github.com/users/fmarcos83/repos","events_url":"https://api.github.com/users/fmarcos83/events{/privacy}","received_events_url":"https://api.github.com/users/fmarcos83/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2/commits","review_comments_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2/comments","review_comment_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/2/comments","statuses_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/statuses/dc8504faaeff1bd56598b549f04471765e88a0d3","head":{"label":"GraduatesTraining:main_module","ref":"main_module","sha":"dc8504faaeff1bd56598b549f04471765e88a0d3","user":{"login":"GraduatesTraining","id":16878913,"avatar_url":"https://avatars.githubusercontent.com/u/16878913?v=3","gravatar_id":"","url":"https://api.github.com/users/GraduatesTraining","html_url":"https://github.com/GraduatesTraining","followers_url":"https://api.github.com/users/GraduatesTraining/followers","following_url":"https://api.github.com/users/GraduatesTraining/following{/other_user}","gists_url":"https://api.github.com/users/GraduatesTraining/gists{/gist_id}","starred_url":"https://api.github.com/users/GraduatesTraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraduatesTraining/subscriptions","organizations_url":"https://api.github.com/users/GraduatesTraining/orgs","repos_url":"https://api.github.com/users/GraduatesTraining/repos","events_url":"https://api.github.com/users/GraduatesTraining/events{/privacy}","received_events_url":"https://api.github.com/users/GraduatesTraining/received_events","type":"Organization","site_admin":false},"repo":{"id":52779939,"name":"examsApp_Daniel","full_name":"GraduatesTraining/examsApp_Daniel","owner":{"login":"GraduatesTraining","id":16878913,"avatar_url":"https://avatars.githubusercontent.com/u/16878913?v=3","gravatar_id":"","url":"https://api.github.com/users/GraduatesTraining","html_url":"https://github.com/GraduatesTraining","followers_url":"https://api.github.com/users/GraduatesTraining/followers","following_url":"https://api.github.com/users/GraduatesTraining/following{/other_user}","gists_url":"https://api.github.com/users/GraduatesTraining/gists{/gist_id}","starred_url":"https://api.github.com/users/GraduatesTraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraduatesTraining/subscriptions","organizations_url":"https://api.github.com/users/GraduatesTraining/orgs","repos_url":"https://api.github.com/users/GraduatesTraining/repos","events_url":"https://api.github.com/users/GraduatesTraining/events{/privacy}","received_events_url":"https://api.github.com/users/GraduatesTraining/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GraduatesTraining/examsApp_Daniel","description":"","fork":false,"url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel","forks_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/forks","keys_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/teams","hooks_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/hooks","issue_events_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/events{/number}","events_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/events","assignees_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/assignees{/user}","branches_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/branches{/branch}","tags_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/tags","blobs_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/refs{/sha}","trees_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/statuses/{sha}","languages_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/languages","stargazers_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/stargazers","contributors_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/contributors","subscribers_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/subscribers","subscription_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/subscription","commits_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/commits{/sha}","git_commits_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/commits{/sha}","comments_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/comments{/number}","issue_comment_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/comments{/number}","contents_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/contents/{+path}","compare_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/merges","archive_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/downloads","issues_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues{/number}","pulls_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls{/number}","milestones_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/milestones{/number}","notifications_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/labels{/name}","releases_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/releases{/id}","deployments_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/deployments","created_at":"2016-02-29T09:35:15Z","updated_at":"2016-02-29T09:37:00Z","pushed_at":"2016-03-04T09:48:09Z","git_url":"git://github.com/GraduatesTraining/examsApp_Daniel.git","ssh_url":"git@github.com:GraduatesTraining/examsApp_Daniel.git","clone_url":"https://github.com/GraduatesTraining/examsApp_Daniel.git","svn_url":"https://github.com/GraduatesTraining/examsApp_Daniel","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"GraduatesTraining:develop","ref":"develop","sha":"af47147a6570a129767fd353b5db70b4b3bc1d9c","user":{"login":"GraduatesTraining","id":16878913,"avatar_url":"https://avatars.githubusercontent.com/u/16878913?v=3","gravatar_id":"","url":"https://api.github.com/users/GraduatesTraining","html_url":"https://github.com/GraduatesTraining","followers_url":"https://api.github.com/users/GraduatesTraining/followers","following_url":"https://api.github.com/users/GraduatesTraining/following{/other_user}","gists_url":"https://api.github.com/users/GraduatesTraining/gists{/gist_id}","starred_url":"https://api.github.com/users/GraduatesTraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraduatesTraining/subscriptions","organizations_url":"https://api.github.com/users/GraduatesTraining/orgs","repos_url":"https://api.github.com/users/GraduatesTraining/repos","events_url":"https://api.github.com/users/GraduatesTraining/events{/privacy}","received_events_url":"https://api.github.com/users/GraduatesTraining/received_events","type":"Organization","site_admin":false},"repo":{"id":52779939,"name":"examsApp_Daniel","full_name":"GraduatesTraining/examsApp_Daniel","owner":{"login":"GraduatesTraining","id":16878913,"avatar_url":"https://avatars.githubusercontent.com/u/16878913?v=3","gravatar_id":"","url":"https://api.github.com/users/GraduatesTraining","html_url":"https://github.com/GraduatesTraining","followers_url":"https://api.github.com/users/GraduatesTraining/followers","following_url":"https://api.github.com/users/GraduatesTraining/following{/other_user}","gists_url":"https://api.github.com/users/GraduatesTraining/gists{/gist_id}","starred_url":"https://api.github.com/users/GraduatesTraining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraduatesTraining/subscriptions","organizations_url":"https://api.github.com/users/GraduatesTraining/orgs","repos_url":"https://api.github.com/users/GraduatesTraining/repos","events_url":"https://api.github.com/users/GraduatesTraining/events{/privacy}","received_events_url":"https://api.github.com/users/GraduatesTraining/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GraduatesTraining/examsApp_Daniel","description":"","fork":false,"url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel","forks_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/forks","keys_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/teams","hooks_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/hooks","issue_events_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/events{/number}","events_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/events","assignees_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/assignees{/user}","branches_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/branches{/branch}","tags_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/tags","blobs_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/refs{/sha}","trees_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/statuses/{sha}","languages_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/languages","stargazers_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/stargazers","contributors_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/contributors","subscribers_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/subscribers","subscription_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/subscription","commits_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/commits{/sha}","git_commits_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/git/commits{/sha}","comments_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/comments{/number}","issue_comment_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/comments{/number}","contents_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/contents/{+path}","compare_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/merges","archive_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/downloads","issues_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues{/number}","pulls_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls{/number}","milestones_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/milestones{/number}","notifications_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/labels{/name}","releases_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/releases{/id}","deployments_url":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/deployments","created_at":"2016-02-29T09:35:15Z","updated_at":"2016-02-29T09:37:00Z","pushed_at":"2016-03-04T09:48:09Z","git_url":"git://github.com/GraduatesTraining/examsApp_Daniel.git","ssh_url":"git@github.com:GraduatesTraining/examsApp_Daniel.git","clone_url":"https://github.com/GraduatesTraining/examsApp_Daniel.git","svn_url":"https://github.com/GraduatesTraining/examsApp_Daniel","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2"},"html":{"href":"https://github.com/GraduatesTraining/examsApp_Daniel/pull/2"},"issue":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/2"},"comments":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/GraduatesTraining/examsApp_Daniel/statuses/dc8504faaeff1bd56598b549f04471765e88a0d3"}}}}