Skip to content

Commit

Permalink
Fix examples to not use hash rockets
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Jun 12, 2019
1 parent 0d7968b commit 54dcf73
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_...",
}
)
```
Expand Down

0 comments on commit 54dcf73

Please sign in to comment.