- add getEnvironment in PNObjectConfig
This commit is contained in:
1 parent
f42c646dcb
commit
872d8a78dd
123 files changed
+11697
-3828
No files matched your search
@@ -127,6 +127,9 @@ typedef NS_ENUM(NSInteger, OAuthMode) {
|
||||
*/
|
||||
- (void) setEnvironment:(NSString * _Nonnull) environment;
|
||||
|
||||
|
||||
- (NSString * _Nonnull) getEnvironment;
|
||||
|
||||
/**
|
||||
* <#Description#>
|
||||
*
|
||||
|
||||
@@ -250,6 +250,10 @@ static bool isFirstAccess = YES;
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString * _Nonnull) getEnvironment {
|
||||
return _currentEnv;
|
||||
}
|
||||
|
||||
- (NSString *) baseUrl {
|
||||
return _currentBaseUrl;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user