Commit dfd5d1481c13168b8c4b6ab23b134b40f190a2f7
Committed by
GitHub
Exists in
master
Merge pull request #107 from lingceng/patch-3
Guide do dup on another account options
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -275,7 +275,8 @@ you can pass `appid`, `mch_id`, `key`, `apiclient_cert`, `apiclient_key` as a ha |
275 | 275 | |
276 | 276 | For example |
277 | 277 | ```ruby |
278 | -WxPay::Service.generate_app_pay_req params, {appid: 'APPID', mch_id: 'MCH_ID', key: 'KEY'} | |
278 | +another_account = {appid: 'APPID', mch_id: 'MCH_ID', key: 'KEY'}.freeze | |
279 | +WxPay::Service.generate_app_pay_req params, another_account.dup | |
279 | 280 | ``` |
280 | 281 | |
281 | 282 | ## Contributing | ... | ... |