From 52f339a1542ba8fc2e9791b4cfc968954c965446 Mon Sep 17 00:00:00 2001 From: jasl Date: Wed, 2 Dec 2015 18:44:49 +0800 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d019a08..d182e3e 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ WxPay.mch_id = 'YOUR_MCH_ID' # cert, see https://pay.weixin.qq.com/wiki/doc/api/app.php?chapter=4_3 # using PCKS12 -WxPay.set_apiclient_by_pkcs12(pkcs12_path_or_string, pass) +WxPay.set_apiclient_by_pkcs12(File.read(pkcs12_filepath), pass) # optional - configurations for RestClient timeout, etc. WxPay.extra_rest_client_options = {timeout: 2, open_timeout: 3} -- libgit2 0.21.0