Skip to content

Instantly share code, notes, and snippets.

@tompie
Created June 29, 2013 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tompie/df31c5ecaeb42cedb483 to your computer and use it in GitHub Desktop.
Save tompie/df31c5ecaeb42cedb483 to your computer and use it in GitHub Desktop.
- (void)activateInstallationWithDeviceId:(NSString *)deviceId
success:(void (^)(void))success
failure:(void (^)(NSError *error))failure
force:(BOOL)force
{
NSParameterAssert(self.applicationId);
NSParameterAssert(self.password);
[self updateAuthorizationHeader];
if (success != nil) {
success();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment