GitHub PullRequestReviewCommentEvent at 2014-05-20 18:38:00
Repository: RZUtils
Actor: ZevEisenberg
Payload: {"comment":{"url":"https://api.github.com/repos/Raizlabs/RZUtils/pulls/comments/12860578","id":12860578,"diff_hunk":"@@ -0,0 +1,147 @@\n+//\n+//  RZValidator.m\n+//  RZLogin\n+//\n+//  Created by Joshua Leibsly on 3/21/13.\n+//  Copyright (c) 2013 Raizlabs. All rights reserved.\n+//\n+\n+#import \"RZValidator.h\"\n+\n+//Typedef to identify whether we are validation with a dictionary or a block.\n+typedef enum {\n+    RZValidationTypeBlock,\n+    RZValidationTypeDictionary\n+} RZValidationType;\n+\n+@interface RZValidator ()\n+\n+//Store the validation type and the info dictionary or block.\n+@property (nonatomic, assign) RZValidationType validationType;\n+@property (nonatomic, strong) NSDictionary *validationConditions;\n+@property (strong) ValidationBlock validationBlock;\n+\n+@end\n+\n+@implementation RZValidator\n+\n+// constructor that accepts a dictionary of validation information\n+- (id)initWithValidationConditions:(NSDictionary *)validationConditions\n+{\n+    if(self = [super init])","path":"RZUtils/Components/RZValidator/RZValidator.m","position":31,"original_position":31,"commit_id":"2b2cc764c045acf2cb8c170c955346d07f79aa14","original_commit_id":"2b2cc764c045acf2cb8c170c955346d07f79aa14","user":{"login":"ZevEisenberg","id":464574,"avatar_url":"https://avatars.githubusercontent.com/u/464574?","gravatar_id":"c85028af274331beade5f06525d8cb06","url":"https://api.github.com/users/ZevEisenberg","html_url":"https://github.com/ZevEisenberg","followers_url":"https://api.github.com/users/ZevEisenberg/followers","following_url":"https://api.github.com/users/ZevEisenberg/following{/other_user}","gists_url":"https://api.github.com/users/ZevEisenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ZevEisenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZevEisenberg/subscriptions","organizations_url":"https://api.github.com/users/ZevEisenberg/orgs","repos_url":"https://api.github.com/users/ZevEisenberg/repos","events_url":"https://api.github.com/users/ZevEisenberg/events{/privacy}","received_events_url":"https://api.github.com/users/ZevEisenberg/received_events","type":"User","site_admin":false},"body":"Space after if, spaces spaces inside parens.","created_at":"2014-05-20T18:38:00Z","updated_at":"2014-05-20T18:38:00Z","html_url":"https://github.com/Raizlabs/RZUtils/pull/61#discussion_r12860578","pull_request_url":"https://api.github.com/repos/Raizlabs/RZUtils/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/Raizlabs/RZUtils/pulls/comments/12860578"},"html":{"href":"https://github.com/Raizlabs/RZUtils/pull/61#discussion_r12860578"},"pull_request":{"href":"https://api.github.com/repos/Raizlabs/RZUtils/pulls/61"}}}}