Skip to content

Commit

Permalink
Merge pull request #793 from stripe/remi-fix-readme
Browse files Browse the repository at this point in the history
Fix examples to not use hash rockets
  • Loading branch information
remi-stripe authored Jun 12, 2019
2 parents 0d7968b + 54dcf73 commit b667280
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 b667280

Please sign in to comment.