Add the kStripeiOSVersion constant, which holds the version of the Stripe library.
This commit is contained in:
parent
5e84b55369
commit
f68ae7a923
|
@ -11,6 +11,8 @@
|
|||
#import "STPCard.h"
|
||||
#import "STPToken.h"
|
||||
|
||||
FOUNDATION_EXPORT NSString *const kStripeiOSVersion; // Version of this library.
|
||||
|
||||
typedef void (^STPCompletionBlock)(STPToken *token, NSError *error);
|
||||
|
||||
// Stripe is a static class used to create and retrieve tokens.
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
+ (NSURL *)apiURLWithPublishableKey:(NSString *)publishableKey;
|
||||
@end
|
||||
|
||||
NSString *const kStripeiOSVersion = @"1.1.3";
|
||||
|
||||
@implementation Stripe
|
||||
static NSString *defaultKey;
|
||||
static NSString *const apiURLBase = @"api.stripe.com";
|
||||
|
|
Loading…
Reference in New Issue