From 45aaeb8a16c51ae0d3978c66c5dc3a356867c7da Mon Sep 17 00:00:00 2001 From: Kexian Zhong Date: Wed, 27 Mar 2019 12:22:03 +0800 Subject: [PATCH] Guide do dup on another account options --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fa9696..59ffc9c 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,8 @@ you can pass `appid`, `mch_id`, `key`, `apiclient_cert`, `apiclient_key` as a ha For example ```ruby -WxPay::Service.generate_app_pay_req params, {appid: 'APPID', mch_id: 'MCH_ID', key: 'KEY'} +another_account = {appid: 'APPID', mch_id: 'MCH_ID', key: 'KEY'}.freeze +WxPay::Service.generate_app_pay_req params, another_account.dup ``` ## Contributing -- libgit2 0.21.0