Skip to content

Commit

Permalink
Charge customer_id -> customer in stripe CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
gdb committed Jun 19, 2011
1 parent 9be1abd commit f862000
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/stripe
Expand Up @@ -108,22 +108,22 @@ class CustomerClient(CreateableAPIResourceClient, UpdateableAPIResourceClient,

def add_invoice_item(self, params):
params = params.copy()
params.append(['customer_id', self.id])
params.append(['customer', self.id])
InvoiceItemClient.create(params)

def invoices(self, params):
params = params.copy()
params.append(['customer_id', self.id])
params.append(['customer', self.id])
InvoiceClient.all(params)

def invoice_items(self, params):
params = params.copy()
params.append(['customer_id', self.id])
params.append(['customer', self.id])
InvoiceItem.all(params)

def charges(self, params):
params = params.copy()
params.append(['customer_id', self.id])
params.append(['customer', self.id])
ChargeClient.all(params)

def update_subscription(self, params):
Expand Down

0 comments on commit f862000

Please sign in to comment.