{"action":"created","comment":{"url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/comments/29948327","id":29948327,"diff_hunk":"@@ -0,0 +1,71 @@\n+//\n+//  SignUpViewController.m\n+//  Wolox Tranining App\n+//\n+//  Created by Francisco Depascuali on 4/22/15.\n+//  Copyright (c) 2015 Francisco Depascuali. All rights reserved.\n+//\n+\n+#import \"SignUpViewController.h\"\n+#import \"Toast/UIView+Toast.h\"\n+#import \"SignUpViewModel.h\"\n+\n+\n+@interface SignUpViewController ()\n+@property (strong, nonatomic) SignUpViewModel *viewModel;\n+@end\n+\n+@implementation SignUpViewController\n+\n+- (IBAction)termsButtonClicked:(id)sender {\n+    [self.viewModel openPage: @\"http://www.wolox.com.ar\"];\n+}\n+\n+- (IBAction)joinButtonClicked:(id)sender {\n+    \n+    if(![self.viewModel emailIsCorrect: self.email_input.text]){\n+        [self displayError: @\"El e-mail ingresado es inválido\"];\n+        return;\n+    }","path":"Wolox Tranining App/SignUpViewController.m","position":29,"original_position":29,"commit_id":"ac012eef279f9b140768edb6e140fae396b07d47","original_commit_id":"ac012eef279f9b140768edb6e140fae396b07d47","user":{"login":"pablog","id":287281,"avatar_url":"https://avatars.githubusercontent.com/u/287281?v=3","gravatar_id":"","url":"https://api.github.com/users/pablog","html_url":"https://github.com/pablog","followers_url":"https://api.github.com/users/pablog/followers","following_url":"https://api.github.com/users/pablog/following{/other_user}","gists_url":"https://api.github.com/users/pablog/gists{/gist_id}","starred_url":"https://api.github.com/users/pablog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablog/subscriptions","organizations_url":"https://api.github.com/users/pablog/orgs","repos_url":"https://api.github.com/users/pablog/repos","events_url":"https://api.github.com/users/pablog/events{/privacy}","received_events_url":"https://api.github.com/users/pablog/received_events","type":"User","site_admin":false},"body":"Por estilo usamos:\r\n\r\n```} else {```","created_at":"2015-05-08T15:19:47Z","updated_at":"2015-05-08T15:19:47Z","html_url":"https://github.com/FranDepascuali/Wolox-Training-App/pull/2#discussion_r29948327","pull_request_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/comments/29948327"},"html":{"href":"https://github.com/FranDepascuali/Wolox-Training-App/pull/2#discussion_r29948327"},"pull_request":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2","id":34665312,"html_url":"https://github.com/FranDepascuali/Wolox-Training-App/pull/2","diff_url":"https://github.com/FranDepascuali/Wolox-Training-App/pull/2.diff","patch_url":"https://github.com/FranDepascuali/Wolox-Training-App/pull/2.patch","issue_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/2","number":2,"state":"open","locked":false,"title":"Sign up view models controllers","user":{"login":"FranDepascuali","id":12101394,"avatar_url":"https://avatars.githubusercontent.com/u/12101394?v=3","gravatar_id":"","url":"https://api.github.com/users/FranDepascuali","html_url":"https://github.com/FranDepascuali","followers_url":"https://api.github.com/users/FranDepascuali/followers","following_url":"https://api.github.com/users/FranDepascuali/following{/other_user}","gists_url":"https://api.github.com/users/FranDepascuali/gists{/gist_id}","starred_url":"https://api.github.com/users/FranDepascuali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranDepascuali/subscriptions","organizations_url":"https://api.github.com/users/FranDepascuali/orgs","repos_url":"https://api.github.com/users/FranDepascuali/repos","events_url":"https://api.github.com/users/FranDepascuali/events{/privacy}","received_events_url":"https://api.github.com/users/FranDepascuali/received_events","type":"User","site_admin":false},"body":"Summary\r\n\r\nTrello cards: \r\nhttps://trello.com/c/9fZ3DtRt/15-signup\r\nhttps://trello.com/c/dEY4AUYL/22-tech-signup\r\n\r\nA brief description of the pull request\r\n\r\nTest Plan\r\n\r\nOpen the app.\r\nFill in username, password and confirm password.\r\nPress join button: if form is invalid or the user is already created, a toast will appear displaying message \"Error\".\r\n","created_at":"2015-05-04T19:13:40Z","updated_at":"2015-05-08T15:19:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d27126b20ee1913783ba7fc7819df3d550590be","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2/commits","review_comments_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2/comments","review_comment_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/2/comments","statuses_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/statuses/ac012eef279f9b140768edb6e140fae396b07d47","head":{"label":"FranDepascuali:sign-up-view-models-controllers","ref":"sign-up-view-models-controllers","sha":"ac012eef279f9b140768edb6e140fae396b07d47","user":{"login":"FranDepascuali","id":12101394,"avatar_url":"https://avatars.githubusercontent.com/u/12101394?v=3","gravatar_id":"","url":"https://api.github.com/users/FranDepascuali","html_url":"https://github.com/FranDepascuali","followers_url":"https://api.github.com/users/FranDepascuali/followers","following_url":"https://api.github.com/users/FranDepascuali/following{/other_user}","gists_url":"https://api.github.com/users/FranDepascuali/gists{/gist_id}","starred_url":"https://api.github.com/users/FranDepascuali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranDepascuali/subscriptions","organizations_url":"https://api.github.com/users/FranDepascuali/orgs","repos_url":"https://api.github.com/users/FranDepascuali/repos","events_url":"https://api.github.com/users/FranDepascuali/events{/privacy}","received_events_url":"https://api.github.com/users/FranDepascuali/received_events","type":"User","site_admin":false},"repo":{"id":34526475,"name":"Wolox-Training-App","full_name":"FranDepascuali/Wolox-Training-App","owner":{"login":"FranDepascuali","id":12101394,"avatar_url":"https://avatars.githubusercontent.com/u/12101394?v=3","gravatar_id":"","url":"https://api.github.com/users/FranDepascuali","html_url":"https://github.com/FranDepascuali","followers_url":"https://api.github.com/users/FranDepascuali/followers","following_url":"https://api.github.com/users/FranDepascuali/following{/other_user}","gists_url":"https://api.github.com/users/FranDepascuali/gists{/gist_id}","starred_url":"https://api.github.com/users/FranDepascuali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranDepascuali/subscriptions","organizations_url":"https://api.github.com/users/FranDepascuali/orgs","repos_url":"https://api.github.com/users/FranDepascuali/repos","events_url":"https://api.github.com/users/FranDepascuali/events{/privacy}","received_events_url":"https://api.github.com/users/FranDepascuali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FranDepascuali/Wolox-Training-App","description":"Wolox Training up by Francisco Depascuali","fork":false,"url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App","forks_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/forks","keys_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/teams","hooks_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/hooks","issue_events_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/events{/number}","events_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/events","assignees_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/assignees{/user}","branches_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/branches{/branch}","tags_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/tags","blobs_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/statuses/{sha}","languages_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/languages","stargazers_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/stargazers","contributors_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/contributors","subscribers_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/subscribers","subscription_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/subscription","commits_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/contents/{+path}","compare_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/merges","archive_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/downloads","issues_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues{/number}","pulls_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls{/number}","milestones_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/milestones{/number}","notifications_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/labels{/name}","releases_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/releases{/id}","created_at":"2015-04-24T15:28:59Z","updated_at":"2015-04-27T16:18:51Z","pushed_at":"2015-05-08T14:42:07Z","git_url":"git://github.com/FranDepascuali/Wolox-Training-App.git","ssh_url":"git@github.com:FranDepascuali/Wolox-Training-App.git","clone_url":"https://github.com/FranDepascuali/Wolox-Training-App.git","svn_url":"https://github.com/FranDepascuali/Wolox-Training-App","homepage":null,"size":312,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"FranDepascuali:master","ref":"master","sha":"f392bb1c1b7daec0561c7dbf10dc6ccc77b70a48","user":{"login":"FranDepascuali","id":12101394,"avatar_url":"https://avatars.githubusercontent.com/u/12101394?v=3","gravatar_id":"","url":"https://api.github.com/users/FranDepascuali","html_url":"https://github.com/FranDepascuali","followers_url":"https://api.github.com/users/FranDepascuali/followers","following_url":"https://api.github.com/users/FranDepascuali/following{/other_user}","gists_url":"https://api.github.com/users/FranDepascuali/gists{/gist_id}","starred_url":"https://api.github.com/users/FranDepascuali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranDepascuali/subscriptions","organizations_url":"https://api.github.com/users/FranDepascuali/orgs","repos_url":"https://api.github.com/users/FranDepascuali/repos","events_url":"https://api.github.com/users/FranDepascuali/events{/privacy}","received_events_url":"https://api.github.com/users/FranDepascuali/received_events","type":"User","site_admin":false},"repo":{"id":34526475,"name":"Wolox-Training-App","full_name":"FranDepascuali/Wolox-Training-App","owner":{"login":"FranDepascuali","id":12101394,"avatar_url":"https://avatars.githubusercontent.com/u/12101394?v=3","gravatar_id":"","url":"https://api.github.com/users/FranDepascuali","html_url":"https://github.com/FranDepascuali","followers_url":"https://api.github.com/users/FranDepascuali/followers","following_url":"https://api.github.com/users/FranDepascuali/following{/other_user}","gists_url":"https://api.github.com/users/FranDepascuali/gists{/gist_id}","starred_url":"https://api.github.com/users/FranDepascuali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranDepascuali/subscriptions","organizations_url":"https://api.github.com/users/FranDepascuali/orgs","repos_url":"https://api.github.com/users/FranDepascuali/repos","events_url":"https://api.github.com/users/FranDepascuali/events{/privacy}","received_events_url":"https://api.github.com/users/FranDepascuali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FranDepascuali/Wolox-Training-App","description":"Wolox Training up by Francisco Depascuali","fork":false,"url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App","forks_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/forks","keys_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/teams","hooks_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/hooks","issue_events_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/events{/number}","events_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/events","assignees_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/assignees{/user}","branches_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/branches{/branch}","tags_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/tags","blobs_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/statuses/{sha}","languages_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/languages","stargazers_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/stargazers","contributors_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/contributors","subscribers_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/subscribers","subscription_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/subscription","commits_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/contents/{+path}","compare_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/merges","archive_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/downloads","issues_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues{/number}","pulls_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls{/number}","milestones_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/milestones{/number}","notifications_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/labels{/name}","releases_url":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/releases{/id}","created_at":"2015-04-24T15:28:59Z","updated_at":"2015-04-27T16:18:51Z","pushed_at":"2015-05-08T14:42:07Z","git_url":"git://github.com/FranDepascuali/Wolox-Training-App.git","ssh_url":"git@github.com:FranDepascuali/Wolox-Training-App.git","clone_url":"https://github.com/FranDepascuali/Wolox-Training-App.git","svn_url":"https://github.com/FranDepascuali/Wolox-Training-App","homepage":null,"size":312,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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/FranDepascuali/Wolox-Training-App/pulls/2"},"html":{"href":"https://github.com/FranDepascuali/Wolox-Training-App/pull/2"},"issue":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/2"},"comments":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/FranDepascuali/Wolox-Training-App/statuses/ac012eef279f9b140768edb6e140fae396b07d47"}}}}