SERVICE_URLS |
= |
{:us => 'http://webservices.amazon.com/onca/xml?', :uk => 'http://webservices.amazon.co.uk/onca/xml?', :ca => 'http://webservices.amazon.ca/onca/xml?', :de => 'http://webservices.amazon.de/onca/xml?', :jp => 'http://webservices.amazon.co.jp/onca/xml?', :fr => 'http://webservices.amazon.fr/onca/xml?' |
OPENSSL_DIGEST_SUPPORT |
= |
OpenSSL::Digest.constants.include?( 'SHA256' ) || OpenSSL::Digest.constants.include?( :SHA256 ) |
OPENSSL_DIGEST |
= |
OpenSSL::Digest::Digest.new( 'sha256' ) if OPENSSL_DIGEST_SUPPORT |