README.md in stripe-2.11.0 vs README.md in stripe-2.12.0
- old
+ new
@@ -95,11 +95,11 @@
`Stripe::StripeClient` object and giving it a connection:
``` ruby
conn = Faraday.new
client = Stripe::StripeClient.new(conn)
-client.request do
- charge, resp = Stripe::Charge.retrieve(
+charge, resp = client.request do
+ Stripe::Charge.retrieve(
"ch_18atAXCdGbJFKhCuBAa4532Z",
)
end
puts resp.request_id
```