Skip to content

Instantly share code, notes, and snippets.

@greenisus
Created October 10, 2011 17:44
Show Gist options
  • Save greenisus/1275920 to your computer and use it in GitHub Desktop.
Save greenisus/1275920 to your computer and use it in GitHub Desktop.
- (void)rebuildWithImage:(RSImage *)image success:(CKBasicBlock)successBlock failure:(void (^)(CKResult *result))failureBlock {
CKRequest *request = [self actionRequest];
[request setBodyWithJSONDict:$D($D(image.id, @"imageId"), @"rebuild")];
[self send:request success:successBlock failure:failureBlock];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment