Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove 'mobile' prefix [AGIOS-42] #4

Merged
merged 2 commits into from Jul 16, 2013

Conversation

cvasilak
Copy link
Contributor

No description provided.

@@ -57,7 +57,7 @@ -(void)registerWithClientInfo:(void (^)(id<AGClientDeviceInformation>))clientInf
}

// make sure 'deviceToken', 'mobileVariantID' and 'mobileVariantSecret' config params are set
if (clientInfoObject.deviceToken == nil || clientInfoObject.mobileVariantID == nil || clientInfoObject.mobileVariantSecret == nil) {
if (clientInfoObject.deviceToken == nil || clientInfoObject.variantID == nil || clientInfoObject.variantSecret == nil) {
@throw [NSException
exceptionWithName:@"ConfigurationParamsMissing"
reason:@"please ensure that 'token', 'mobileVariantID' and 'mobileVariantSecret' configurations params are set"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's update the error msg too

@abstractj
Copy link

Looking at the sources your refactoring looks good

+1

@cvasilak cvasilak merged commit 02ebdb1 into aerogear:master Jul 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants