Add the kStripeiOSVersion constant, which holds the version of the Stripe library.

This commit is contained in:
Phil Cohen 2014-05-12 15:13:07 -07:00
parent 5e84b55369
commit f68ae7a923
3 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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";

View File

@ -1 +1 @@
1.1.2
(See Stripe.m for up-to-date version)