Commit 54f990abdf6ea207bd8411c50e3edf8e2cc3c24e

Authored by Jun Jiang
Committed by GitHub
2 parents a7885f35 c7ff1e6d
Exists in master

Merge pull request #44 from goofansu/fix-typo

Fix typo
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
README.md
... ... @@ -122,7 +122,7 @@ params = {
122 122 }
123 123  
124 124 # call generate_app_pay_req
125   -r = WxPay::Service::generate_app_pay_req params
  125 +r = WxPay::Service.generate_app_pay_req params
126 126 # => {
127 127 # appid: 'wxd930ea5d5a258f4f',
128 128 # partnerid: '1900000109',
... ... @@ -181,7 +181,7 @@ you can pass `appid`, `mch_id`, `key`, `apiclient_cert`, `apiclient_key` as a ha
181 181  
182 182 For example
183 183 ```ruby
184   -WxPay::Service::generate_app_pay_req params, {appid: 'APPID', mch_id: 'MCH_ID', key: 'KEY'}
  184 +WxPay::Service.generate_app_pay_req params, {appid: 'APPID', mch_id: 'MCH_ID', key: 'KEY'}
185 185 ```
186 186  
187 187 ## Contributing
... ...