README.md in peddler-0.15.0 vs README.md in peddler-0.16.0
- old
+ new
@@ -32,18 +32,14 @@
Each client requires valid MWS credentials. You can set some or all when or after creating the client.
```ruby
client = MWS::Orders::Client.new(
- marketplace_id: "foo",
- merchant_id: "bar",
- aws_access_key_id: "baz",
+ primary_marketplace_id: "foo",
+ merchant_id: "bar",
+ aws_access_key_id: "baz",
aws_secret_access_key: "qux"
)
-
-# Swap marketplace
-client.marketplace_id = "quux"
-```
Alternatively, you can set these globally in the shell.
```sh
export MWS_MARKETPLACE_ID=foo