mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Fix examples to not use hash rockets
This commit is contained in:
parent
0d7968b97b
commit
54dcf73d96
18
README.md
18
README.md
@ -81,29 +81,29 @@ require "stripe"
|
||||
Stripe::Charge.list(
|
||||
{},
|
||||
{
|
||||
:api_key => "sk_test_...",
|
||||
:stripe_account => "acct_...",
|
||||
:stripe_version => "2018-02-28"
|
||||
api_key: "sk_test_...",
|
||||
stripe_account: "acct_...",
|
||||
stripe_version: "2018-02-28",
|
||||
}
|
||||
)
|
||||
|
||||
Stripe::Charge.retrieve(
|
||||
"ch_18atAXCdGbJFKhCuBAa4532Z",
|
||||
{
|
||||
:api_key => "sk_test_...",
|
||||
:stripe_account => "acct_...",
|
||||
:stripe_version => "2018-02-28"
|
||||
api_key: "sk_test_...",
|
||||
stripe_account: "acct_...",
|
||||
stripe_version: "2018-02-28",
|
||||
}
|
||||
)
|
||||
|
||||
Stripe::Charge.retrieve(
|
||||
{
|
||||
id: 'ch_18atAXCdGbJFKhCuBAa4532Z',
|
||||
id: "ch_18atAXCdGbJFKhCuBAa4532Z",
|
||||
expand: %w(balance_transaction)
|
||||
},
|
||||
{
|
||||
stripe_version: '2018-02-28',
|
||||
api_key: 'sk_test_...'
|
||||
stripe_version: "2018-02-28",
|
||||
api_key: "sk_test_...",
|
||||
}
|
||||
)
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user