README.rdoc in dpickett-amazon_associate-0.6.5 vs README.rdoc in dpickett-amazon_associate-0.7.0
- old
+ new
@@ -10,10 +10,13 @@
If in the future, there is a change in REST XML output structure,
no changes will be required on <tt>amazon-ecs</tt> library,
instead you just need to change the element path.
+NOTE: You must now specify a secret key to support request signing as
+required by Amazon.
+
Version: 0.6.1
== WANTS
* instance based refactoring (singletons are not ideal here)
@@ -26,10 +29,11 @@
require 'amazon_associate'
# set the default options; options will be camelized and converted to REST request parameters.
AmazonAssociate::Request.configure do |options|
options[:aWS_access_key_id] = [your developer token]
+ options[:secrety_key] = [your secret key]
end
# options provided on method call will merge with the default options
res = AmazonAssociate::Request.item_search('ruby', {:response_group => 'Medium', :sort => 'salesrank'})
@@ -90,9 +94,10 @@
Filesystem caching is now available.
AmazonAssociate::Request.configure do |options|
options[:aWS_access_key_id] = [your developer token]
+ options[:scret_key] = [your secret key]
options[:caching_strategy] = :filesystem
options[:caching_options] = {
:disk_quota => 200,
:cache_path => <path where you want to store requests>,
:sweep_frequency => 4