Skip to content

Commit

Permalink
Resolves #17 - DeleteCard/ListCards misnamed
Browse files Browse the repository at this point in the history
Renames DeleteCustomer to DeleteCard for card-specific action, same for
ListCustomers to ListCard
  • Loading branch information
paulirwin committed Dec 3, 2014
1 parent e5111cd commit d34d941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ Generated_Code #added for RIA/Silverlight projects
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
msbuild.log
4 changes: 2 additions & 2 deletions src/StripeClient.Cards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public StripeObject UpdateCard(string customerId, string cardId, CreditCard card
return ExecuteObject(request);
}

public StripeObject DeleteCustomer(string customerId, string cardId)
public StripeObject DeleteCard(string customerId, string cardId)
{
Require.Argument("customerId", customerId);
Require.Argument("cardId", cardId);
Expand All @@ -75,7 +75,7 @@ public StripeObject DeleteCustomer(string customerId, string cardId)
return ExecuteObject(request);
}

public StripeArray ListCustomers(string customerId, int? count = null, int? offset = null)
public StripeArray ListCards(string customerId, int? count = null, int? offset = null)
{
Require.Argument("customerId", customerId);

Expand Down

0 comments on commit d34d941

Please sign in to comment.