README.md in sterling-1.1.0 vs README.md in sterling-1.1.1
- old
+ new
@@ -18,12 +18,11 @@
Sterling is designed to be dropped into a Rails app with little effort. Simply create an initializer as follows
```ruby
Sterling.configure do |config|
config.api_version = '...'
- config.api_key = 'your api key'
- config.retailer_id = 'your requestor id'
+ config.api_key = 'your api key''
config.api_host = 'api or apitest'
end
```
### Usage
@@ -32,10 +31,10 @@
```ruby
client = Sterling::API::Client.new
# Return an array of product objects for the location 90210 that match the keyword Diamonds
-products = client.products("90201", "Diamonds")
+products = client.products("90201", "Diamonds", "your_requestor_id")
# Get the product names
products.each do |search_result|
puts search_result.product['name']
end