Skip to content

Commit 3a5580c

Browse files
authored
Update 3_customers.md
1 parent e5fbeba commit 3a5580c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/3_customers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ Only one `Pay::Customer` can be the default which is used for `payment_processor
5151

5252
## Retrieving a Customer object from the Payment Processor
5353

54-
For Paddle Billing and Lemon Squeezy, using the `customer` method will create a new customer on the payment processor.
54+
For Paddle Billing and Lemon Squeezy, using the `api_record` method will create a new customer on the payment processor.
5555

5656
If the `processor_id` is already set, it will retrieve the customer from the payment processor and return the object
5757
directly from the API. Like so:
5858

5959
```ruby
60-
@user.payment_processor.customer
60+
@user.payment_processor.api_record
6161
#=> #<Stripe::Customer>
6262
#=> #<Paddle::Customer>
6363
#=> #<LemonSqueezy::Customer>

0 commit comments

Comments
 (0)