Commits

Anonymous committed 97ec96f

Add support for amazon_sak.

Comments (0)

Files changed (2)

perl/XML-Grammar-ProductsSyndication/Changes

 Revision history for XML::Grammar::ProductsSyndication
 
+0.0400
+        - Add support for amazon_sak (Secret Access Key).
+
 0.0303
         - Updated XML::Grammar::Builder to 0.0101 (from XML-Grammar-Screenplay)
         so it will install all the files properly upon ./Build install.

perl/XML-Grammar-ProductsSyndication/lib/XML/Grammar/ProductsSyndication.pm

 
 An optional Amazon.com associate ID. See L<XML::Amazon>.
 
+=item * amazon_sak
+
+An optional Amazon.com Secret Access Key (sak). See L<XML::Amazon>.
+
 =item * overwrite
 
 If true, instructs to overwrite the files in case they exist.
     my $amazon_token = $args->{amazon_token};
     my @amazon_associate = 
         (
-            exists($args->{amazon_associate}) ? 
+            (exists($args->{amazon_associate}) ? 
                 (associate => $args->{amazon_associate},) :
                 ()
+            ),
+            (exists($args->{amazon_sak}) ?
+                (sak => $args->{amazon_sak},) :
+                (),
+            ),
         );
 
     my $dom = $self->_get_source_dom();