README.md in peddler-0.7.8 vs README.md in peddler-0.7.9
- old
+ new
@@ -10,11 +10,11 @@
![Peddler](http://f.cl.ly/items/231z2m0r1Q2o2q1n0w1N/peddler.jpg)
## Configuration
-Require the library and instantiate a client.
+Require the library and instantiate a client:
```ruby
require 'peddler'
client = MWS.orders
```
@@ -26,22 +26,23 @@
marketplace_id: 'A1F83G8C2ARO7P',
merchant_id: 'A2A9WNXCU02UZW',
aws_access_key_id: 'AKIVICHZMZ2JRSSLC27W',
aws_secret_access_key: 'rOMa3ydPBTJ3AD0bxERTOX0Fv0fAC6Q0s6/czMZO'
)
+```
-Or you can set them via `Client#configure`.
+Or you can set them via `Client#configure`:
```ruby
client.configure do |c|
c.marketplace_id = 'A1F83G8C2ARO7P'
c.merchant_id = 'A2A9WNXCU02UZW'
c.aws_access_key_id = 'AKIVICHZMZ2JRSSLC27W'
c.aws_secret_access_key = 'rOMa3ydPBTJ3AD0bxERTOX0Fv0fAC6Q0s6/czMZO'
end
```
-Or you may use environment variables if you have only a single set of credentials:
+Alternatively, use environment variables if you only have a single set of credentials:
```sh
export MWS_MARKETPLACE_ID="A1F83G8C2ARO7P"
export MWS_MERCHANT_ID="A2A9WNXCU02UZW"
export AWS_ACCESS_KEY_ID="AKIVICHZMZ2JRSSLC27W"