{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4192","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4192/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4192/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4192/events","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4192","id":102803365,"number":4192,"title":"Code quality improvements to WordPressComServiceRemote","user":{"login":"diegoreymendez","id":1836005,"avatar_url":"https://avatars.githubusercontent.com/u/1836005?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoreymendez","html_url":"https://github.com/diegoreymendez","followers_url":"https://api.github.com/users/diegoreymendez/followers","following_url":"https://api.github.com/users/diegoreymendez/following{/other_user}","gists_url":"https://api.github.com/users/diegoreymendez/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoreymendez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoreymendez/subscriptions","organizations_url":"https://api.github.com/users/diegoreymendez/orgs","repos_url":"https://api.github.com/users/diegoreymendez/repos","events_url":"https://api.github.com/users/diegoreymendez/events{/privacy}","received_events_url":"https://api.github.com/users/diegoreymendez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/review","name":"review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/45","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/milestones/5.6","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/45/labels","id":1188115,"number":45,"title":"5.6","description":null,"creator":{"login":"sendhil","id":437043,"avatar_url":"https://avatars.githubusercontent.com/u/437043?v=3","gravatar_id":"","url":"https://api.github.com/users/sendhil","html_url":"https://github.com/sendhil","followers_url":"https://api.github.com/users/sendhil/followers","following_url":"https://api.github.com/users/sendhil/following{/other_user}","gists_url":"https://api.github.com/users/sendhil/gists{/gist_id}","starred_url":"https://api.github.com/users/sendhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendhil/subscriptions","organizations_url":"https://api.github.com/users/sendhil/orgs","repos_url":"https://api.github.com/users/sendhil/repos","events_url":"https://api.github.com/users/sendhil/events{/privacy}","received_events_url":"https://api.github.com/users/sendhil/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":34,"state":"open","created_at":"2015-06-30T23:23:14Z","updated_at":"2015-08-24T15:19:41Z","due_on":"2015-09-17T00:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-24T14:11:59Z","updated_at":"2015-08-24T15:28:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/4192","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4192","diff_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4192.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4192.patch"},"body":"This PR improves `WordPressComServiceRemote` by:\r\n\r\n- Documenting its methods.\r\n- Naming the block types used.\r\n- Adding a few missing assertions.\r\n- The assertions added made me realize that even though we were treating `languageId` as a number, it was actually a string object.  I fixed the data type.\r\n\r\n**To test:**\r\n1. Launch the app\r\n2. At the login screen tap on \"Create account\"\r\n3. Fill the forms\r\n4. Make sure the account and blog are created.\r\n\r\n/cc @jleandroperez "},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/134250640","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4192#issuecomment-134250640","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4192","id":134250640,"user":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T15:28:25Z","updated_at":"2015-08-24T15:28:25Z","body":"@diegoreymendez no worries! We should remove Travis (IMHO), since it's always giving off false alarms.\r\n\r\nHeads up, i've found few warnings in `CreateAccountAndBlogViewController`:\r\n\r\n<img width=\"1224\" alt=\"screen shot 2015-08-24 at 12 26 49 pm\" src=\"https://cloud.githubusercontent.com/assets/1195260/9444176/8aa18d1e-4a5b-11e5-9a06-6a33657db460.png\">\r\n"}}