diff --git a/README.md b/README.md index d7c925d..07d89d0 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ require "omise" Omise.api_key = "skey_test_xxxxxxxxxxxxxxxxxxx" ``` -After you have implemented [Omise.js](https://www.omise.co/omise-js) on your frontend you can charge the card by passing the token generated by Omise.js into the `card` attribute. +After you have implemented [Omise.js](https://docs.opn.ooo/omise-js) on your frontend, you can charge the card by passing the token generated by Omise.js into the `card` attribute. ```ruby # Charge 1000.00 THB @@ -51,12 +51,12 @@ else end ``` -You can check the complete documentation at [omise.co/docs](https://omise.co/docs). +You can check the complete [documentation](https://docs.opn.ooo/). ### API version -In case you want to enforce API version the application use, you can specify it -by setting the `api_version`. The version specified by this settings will override +To enforce the API version that the application must use, specify it +by setting `api_version`. The version specified by this settings will override the version setting in your account. This is useful if you have multiple environments with different API versions (e.g. development on the latest but production on the older version). @@ -65,13 +65,13 @@ production on the older version). Omise.api_version = "2019-05-29" ``` -It is highly recommended to set this version to the current version you're using. +It is highly recommended to set this version to the current version that you are using. ### Logging -To enable logging you can set `Omise.logger` with a Ruby logger. All HTTP requests and responses will be logged. +To enable logging, you can set `Omise.logger` with a Ruby logger. All HTTP requests and responses will be logged. -To disable logging, just configure `Omise.logger` to `nil`. Default is disabled. +To disable logging, configure `Omise.logger` to `nil`. Default is disabled. An example configuring Rails logger: