Commit 52f339a1542ba8fc2e9791b4cfc968954c965446

Authored by jasl
1 parent 2cc10b58
Exists in master

update readme

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
README.md
... ... @@ -39,7 +39,7 @@ WxPay.mch_id = 'YOUR_MCH_ID'
39 39  
40 40 # cert, see https://pay.weixin.qq.com/wiki/doc/api/app.php?chapter=4_3
41 41 # using PCKS12
42   -WxPay.set_apiclient_by_pkcs12(pkcs12_path_or_string, pass)
  42 +WxPay.set_apiclient_by_pkcs12(File.read(pkcs12_filepath), pass)
43 43  
44 44 # optional - configurations for RestClient timeout, etc.
45 45 WxPay.extra_rest_client_options = {timeout: 2, open_timeout: 3}
... ...