Skip to content

Commit

Permalink
Minor comment tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-stripe committed Mar 11, 2019
1 parent bae00a7 commit ba3a2f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Stripe/PublicHeaders/STPAPIClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ static NSString *const STPSDKVersion = @"15.0.0";
/**
Creates a PaymentMethod object with the provided params object.
@see https://site-admin.stripe.com/docs/api/payment_methods/create
@see https://stripe.com/docs/api/payment_methods/create
@param paymentMethodParams The `STPPaymentMethodParams` to pass to `/payment_methods`. Cannot be nil.
@param paymentMethodParams The `STPPaymentMethodParams` to pass to `/v1/payment_methods`. Cannot be nil.
@param completion The callback to run with the returned PaymentMethod object, or an error.
*/
- (void)createPaymentMethodWithParams:(STPPaymentMethodParams *)paymentMethodParams
Expand Down
2 changes: 1 addition & 1 deletion Tests/Tests/STPPaymentMethodFunctionalTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ - (void)testCreatePaymentMethod {
STPPaymentMethodParams *params = [STPPaymentMethodParams paramsWithCard:card
billingDetails:billingDetails
metadata:@{@"test_key": @"test_value"}];
XCTestExpectation *expectation = [self expectationWithDescription:@"Payment Method retrieve"];
XCTestExpectation *expectation = [self expectationWithDescription:@"Payment Method create"];
[client createPaymentMethodWithParams:params
completion:^(STPPaymentMethod *paymentMethod, NSError *error) {
XCTAssertNil(error);
Expand Down

0 comments on commit ba3a2f3

Please sign in to comment.