Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix module name typo in actions docs #316

Merged
merged 2 commits into from
Apr 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/reference/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ Returns: `pinax.stripe.models.Charge` object

## Customers

#### pinax.stripe.actions.customer.can_charge
#### pinax.stripe.actions.customers.can_charge

Can the given customer create a charge

Args:

- customer: a `pinax.stripe.models.Customer` object

#### pinax.stripe.actions.customer.create
#### pinax.stripe.actions.customers.create

Creates a Stripe customer

Expand All @@ -81,7 +81,7 @@ Args:

Returns: `pinax.stripe.models.Customer` object that was created

#### pinax.stripe.actions.customer.get_customer_for_user
#### pinax.stripe.actions.customers.get_customer_for_user

Get a customer object for a given user

Expand All @@ -91,7 +91,7 @@ Args:

Returns: `pinax.stripe.models.Customer` object

#### pinax.stripe.actions.customer.purge
#### pinax.stripe.actions.customers.purge

Deletes the Stripe customer data and purges the linking of the transaction
data to the Django user.
Expand All @@ -100,15 +100,15 @@ Args:

- customer: the `pinax.stripe.models.Customer` object to purge.

#### pinax.stripe.actions.customer.link_customer
#### pinax.stripe.actions.customers.link_customer

Links a customer referenced in a webhook event message to the event object

Args:

- event: the `pinax.stripe.models.Event` object to link

#### pinax.stripe.actions.customer.set_default_source
#### pinax.stripe.actions.customers.set_default_source

Sets the default payment source for a customer

Expand All @@ -117,7 +117,7 @@ Args:
- customer: a `pinax.stripe.models.Customer` object
- source: the Stripe ID of the payment source

#### pinax.stripe.actions.customer.sync_customer
#### pinax.stripe.actions.customers.sync_customer

Syncronizes a local Customer object with details from the Stripe API

Expand Down