amazon_product 3.0.0.pre.1 → 3.0.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,44 @@
1
1
  module AmazonProduct
2
2
  # A wrapper around the API request.
3
3
  class Request
4
- extend Forwardable
5
4
  include Operations
6
5
 
7
6
  # The latest Amazon API version. See:
8
7
  # http://aws.amazon.com/archives/Product%20Advertising%20API
9
8
  CURRENT_API_VERSION = '2011-08-01'
10
9
 
11
- # The Amazon locale.
12
- attr :locale
10
+ class << self
11
+ # The HTTP client.
12
+ attr :adapter
13
+
14
+ # Sets the HTTP client.
15
+ #
16
+ # Takes the name of the client library as argument, which can be:
17
+ #
18
+ # * `:net_http`
19
+ # * `:curb`
20
+ # * `:synchrony`
21
+ #
22
+ # For the latter two, you will have to make available the
23
+ # dependent gems manually.
24
+ def adapter=(client)
25
+ case client
26
+ when :curb
27
+ require 'curb'
28
+ when :synchrony
29
+ require 'em-synchrony'
30
+ require 'em-synchrony/em-http'
31
+ when :net_http
32
+ else
33
+ raise ArgumentError, "`:#{client}` is not a valid HTTP client"
34
+ end
35
+
36
+ @adapter = client
37
+ end
38
+ end
13
39
 
14
- def_delegators :locale, :host, :key, :secret, :tag
40
+ # Set HTTP client to Net::HTTP.
41
+ @adapter = :net_http
15
42
 
16
43
  # Creates a new request for specified locale.
17
44
  def initialize(locale)
@@ -35,6 +62,20 @@ module AmazonProduct
35
62
  end
36
63
  end
37
64
 
65
+ # Performs an asynchronous request with the EM async HTTP client.
66
+ #
67
+ # Yields response to given block.
68
+ def aget(&block)
69
+ unless adapter == :synchrony
70
+ raise TypeError, "Set HTTP client to `:synchrony`"
71
+ end
72
+
73
+ http = EM::HttpRequest.new(url).aget
74
+ resp = lambda { Response.new(http.response, http.response_header.status) }
75
+ http.callback { block.call(resp.call) }
76
+ http.errback { block.call(resp.call) }
77
+ end
78
+
38
79
  # Configures the Amazon locale.
39
80
  #
40
81
  # request.configure do |c|
@@ -43,17 +84,34 @@ module AmazonProduct
43
84
  # c.tag = YOUR_ASSOCIATE_TAG
44
85
  # end
45
86
  #
46
- def configure
47
- yield locale
87
+ def configure(&block)
88
+ block.call @locale
89
+ end
90
+
91
+ # Performs a request.
92
+ def get
93
+ case adapter
94
+ when :curb
95
+ http = Curl::Easy.perform(url.to_s)
96
+ body, code = http.body_str, http.response_code
97
+ when :synchrony
98
+ http = EM::HttpRequest.new(url).get
99
+ body, code = http.response, http.response_header.status
100
+ when :net_http
101
+ resp = Net::HTTP.get_response(url)
102
+ body, code = resp.body, resp.code
103
+ end
104
+
105
+ Response.new(body, code)
48
106
  end
49
107
 
50
108
  # The request parameters.
51
109
  def params
52
- raise MissingKey unless key
53
- raise MissingTag unless tag
110
+ raise MissingKey unless @locale.key
111
+ raise MissingTag unless @locale.tag
54
112
 
55
- { 'AWSAccessKeyId' => key,
56
- 'AssociateTag' => tag,
113
+ { 'AWSAccessKeyId' => @locale.key,
114
+ 'AssociateTag' => @locale.tag,
57
115
  'Service' => 'AWSECommerceService',
58
116
  'Timestamp' => timestamp,
59
117
  'Version' => CURRENT_API_VERSION }.merge(@params)
@@ -69,19 +127,13 @@ module AmazonProduct
69
127
  @params = Hash.new
70
128
  end
71
129
 
72
- # Performs a request.
73
- def get
74
- resp = Net::HTTP.get_response(url)
75
- Response.new(resp)
76
- end
77
-
78
130
  # Adds a signature to a query
79
131
  def sign(unsigned_query)
80
- raise MissingSecret unless secret
132
+ raise MissingSecret unless @locale.secret
81
133
 
82
134
  digest = OpenSSL::Digest::Digest.new('sha256')
83
- url_string = ['GET', host, '/onca/xml', unsigned_query].join("\n")
84
- hmac = OpenSSL::HMAC.digest(digest, secret, url_string)
135
+ url_string = ['GET', @locale.host, '/onca/xml', unsigned_query].join("\n")
136
+ hmac = OpenSSL::HMAC.digest(digest, @locale.secret, url_string)
85
137
  signature = escape([hmac].pack('m').chomp)
86
138
 
87
139
  "#{unsigned_query}&Signature=#{signature}"
@@ -94,13 +146,17 @@ module AmazonProduct
94
146
 
95
147
  # The Amazon URL.
96
148
  def url
97
- URI::HTTP.build(:host => host,
149
+ URI::HTTP.build(:host => @locale.host,
98
150
  :path => '/onca/xml',
99
151
  :query => sign(query))
100
152
  end
101
153
 
102
154
  private
103
155
 
156
+ def adapter
157
+ Request.adapter
158
+ end
159
+
104
160
  def escape(value)
105
161
  value.gsub(/([^a-zA-Z0-9_.~-]+)/) do
106
162
  '%' + $1.unpack('H2' * $1.bytesize).join('%').upcase
@@ -0,0 +1,3389 @@
1
+ !RBIX
2
+ 6235178746665710376
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 13
54
+ AmazonProduct
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 13
67
+ AmazonProduct
68
+ i
69
+ 29
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 1
76
+ 65
77
+ 49
78
+ 1
79
+ 3
80
+ 13
81
+ 99
82
+ 12
83
+ 7
84
+ 2
85
+ 12
86
+ 7
87
+ 3
88
+ 12
89
+ 65
90
+ 12
91
+ 49
92
+ 4
93
+ 4
94
+ 15
95
+ 49
96
+ 2
97
+ 0
98
+ 11
99
+ I
100
+ 6
101
+ I
102
+ 0
103
+ I
104
+ 0
105
+ I
106
+ 0
107
+ n
108
+ p
109
+ 5
110
+ x
111
+ 7
112
+ Request
113
+ x
114
+ 10
115
+ open_class
116
+ x
117
+ 14
118
+ __class_init__
119
+ M
120
+ 1
121
+ n
122
+ n
123
+ x
124
+ 7
125
+ Request
126
+ i
127
+ 240
128
+ 5
129
+ 66
130
+ 5
131
+ 45
132
+ 0
133
+ 1
134
+ 47
135
+ 49
136
+ 2
137
+ 1
138
+ 15
139
+ 65
140
+ 7
141
+ 3
142
+ 7
143
+ 4
144
+ 64
145
+ 49
146
+ 5
147
+ 2
148
+ 15
149
+ 5
150
+ 99
151
+ 43
152
+ 6
153
+ 12
154
+ 49
155
+ 7
156
+ 1
157
+ 13
158
+ 99
159
+ 12
160
+ 7
161
+ 8
162
+ 12
163
+ 7
164
+ 9
165
+ 12
166
+ 65
167
+ 12
168
+ 49
169
+ 10
170
+ 4
171
+ 15
172
+ 54
173
+ 50
174
+ 8
175
+ 0
176
+ 15
177
+ 7
178
+ 11
179
+ 38
180
+ 12
181
+ 15
182
+ 99
183
+ 7
184
+ 13
185
+ 7
186
+ 14
187
+ 65
188
+ 67
189
+ 49
190
+ 15
191
+ 0
192
+ 49
193
+ 16
194
+ 4
195
+ 15
196
+ 99
197
+ 7
198
+ 17
199
+ 7
200
+ 18
201
+ 65
202
+ 67
203
+ 49
204
+ 15
205
+ 0
206
+ 49
207
+ 16
208
+ 4
209
+ 15
210
+ 99
211
+ 7
212
+ 19
213
+ 7
214
+ 20
215
+ 65
216
+ 67
217
+ 49
218
+ 15
219
+ 0
220
+ 49
221
+ 16
222
+ 4
223
+ 15
224
+ 99
225
+ 7
226
+ 21
227
+ 7
228
+ 22
229
+ 65
230
+ 67
231
+ 49
232
+ 15
233
+ 0
234
+ 49
235
+ 16
236
+ 4
237
+ 15
238
+ 99
239
+ 7
240
+ 23
241
+ 7
242
+ 24
243
+ 65
244
+ 67
245
+ 49
246
+ 15
247
+ 0
248
+ 49
249
+ 16
250
+ 4
251
+ 15
252
+ 99
253
+ 7
254
+ 25
255
+ 7
256
+ 26
257
+ 65
258
+ 67
259
+ 49
260
+ 15
261
+ 0
262
+ 49
263
+ 16
264
+ 4
265
+ 15
266
+ 99
267
+ 7
268
+ 27
269
+ 7
270
+ 28
271
+ 65
272
+ 67
273
+ 49
274
+ 15
275
+ 0
276
+ 49
277
+ 16
278
+ 4
279
+ 15
280
+ 99
281
+ 7
282
+ 29
283
+ 7
284
+ 30
285
+ 65
286
+ 67
287
+ 49
288
+ 15
289
+ 0
290
+ 49
291
+ 16
292
+ 4
293
+ 15
294
+ 99
295
+ 7
296
+ 31
297
+ 7
298
+ 32
299
+ 65
300
+ 67
301
+ 49
302
+ 15
303
+ 0
304
+ 49
305
+ 16
306
+ 4
307
+ 15
308
+ 99
309
+ 7
310
+ 33
311
+ 7
312
+ 34
313
+ 65
314
+ 67
315
+ 49
316
+ 15
317
+ 0
318
+ 49
319
+ 16
320
+ 4
321
+ 15
322
+ 99
323
+ 7
324
+ 35
325
+ 7
326
+ 36
327
+ 65
328
+ 67
329
+ 49
330
+ 15
331
+ 0
332
+ 49
333
+ 16
334
+ 4
335
+ 15
336
+ 5
337
+ 48
338
+ 37
339
+ 15
340
+ 99
341
+ 7
342
+ 38
343
+ 7
344
+ 39
345
+ 65
346
+ 67
347
+ 49
348
+ 15
349
+ 0
350
+ 49
351
+ 16
352
+ 4
353
+ 15
354
+ 99
355
+ 7
356
+ 40
357
+ 7
358
+ 41
359
+ 65
360
+ 67
361
+ 49
362
+ 15
363
+ 0
364
+ 49
365
+ 16
366
+ 4
367
+ 11
368
+ I
369
+ 6
370
+ I
371
+ 0
372
+ I
373
+ 0
374
+ I
375
+ 0
376
+ n
377
+ p
378
+ 42
379
+ x
380
+ 10
381
+ Operations
382
+ n
383
+ x
384
+ 7
385
+ include
386
+ x
387
+ 19
388
+ CURRENT_API_VERSION
389
+ s
390
+ 10
391
+ 2011-08-01
392
+ x
393
+ 9
394
+ const_set
395
+ x
396
+ 4
397
+ Type
398
+ x
399
+ 22
400
+ object_singleton_class
401
+ x
402
+ 18
403
+ __metaclass_init__
404
+ M
405
+ 1
406
+ n
407
+ n
408
+ x
409
+ 18
410
+ __metaclass_init__
411
+ i
412
+ 24
413
+ 5
414
+ 66
415
+ 5
416
+ 7
417
+ 0
418
+ 47
419
+ 49
420
+ 1
421
+ 1
422
+ 15
423
+ 99
424
+ 7
425
+ 2
426
+ 7
427
+ 3
428
+ 65
429
+ 67
430
+ 49
431
+ 4
432
+ 0
433
+ 49
434
+ 5
435
+ 4
436
+ 11
437
+ I
438
+ 5
439
+ I
440
+ 0
441
+ I
442
+ 0
443
+ I
444
+ 0
445
+ n
446
+ p
447
+ 6
448
+ x
449
+ 7
450
+ adapter
451
+ x
452
+ 4
453
+ attr
454
+ x
455
+ 8
456
+ adapter=
457
+ M
458
+ 1
459
+ n
460
+ n
461
+ x
462
+ 8
463
+ adapter=
464
+ i
465
+ 90
466
+ 20
467
+ 0
468
+ 13
469
+ 7
470
+ 0
471
+ 12
472
+ 49
473
+ 1
474
+ 1
475
+ 9
476
+ 22
477
+ 15
478
+ 5
479
+ 7
480
+ 2
481
+ 64
482
+ 47
483
+ 49
484
+ 3
485
+ 1
486
+ 8
487
+ 84
488
+ 13
489
+ 7
490
+ 4
491
+ 12
492
+ 49
493
+ 1
494
+ 1
495
+ 9
496
+ 51
497
+ 15
498
+ 5
499
+ 7
500
+ 5
501
+ 64
502
+ 47
503
+ 49
504
+ 3
505
+ 1
506
+ 15
507
+ 5
508
+ 7
509
+ 6
510
+ 64
511
+ 47
512
+ 49
513
+ 3
514
+ 1
515
+ 8
516
+ 84
517
+ 13
518
+ 7
519
+ 7
520
+ 12
521
+ 49
522
+ 1
523
+ 1
524
+ 9
525
+ 64
526
+ 15
527
+ 1
528
+ 8
529
+ 84
530
+ 15
531
+ 5
532
+ 45
533
+ 8
534
+ 9
535
+ 7
536
+ 10
537
+ 20
538
+ 0
539
+ 47
540
+ 101
541
+ 11
542
+ 7
543
+ 12
544
+ 63
545
+ 3
546
+ 47
547
+ 49
548
+ 13
549
+ 2
550
+ 15
551
+ 20
552
+ 0
553
+ 38
554
+ 14
555
+ 11
556
+ I
557
+ 6
558
+ I
559
+ 1
560
+ I
561
+ 1
562
+ I
563
+ 1
564
+ n
565
+ p
566
+ 15
567
+ x
568
+ 4
569
+ curb
570
+ x
571
+ 3
572
+ ===
573
+ s
574
+ 4
575
+ curb
576
+ x
577
+ 7
578
+ require
579
+ x
580
+ 9
581
+ synchrony
582
+ s
583
+ 12
584
+ em-synchrony
585
+ s
586
+ 20
587
+ em-synchrony/em-http
588
+ x
589
+ 8
590
+ net_http
591
+ x
592
+ 13
593
+ ArgumentError
594
+ n
595
+ s
596
+ 2
597
+ `:
598
+ x
599
+ 4
600
+ to_s
601
+ s
602
+ 28
603
+ ` is not a valid HTTP client
604
+ x
605
+ 5
606
+ raise
607
+ x
608
+ 8
609
+ @adapter
610
+ p
611
+ 25
612
+ I
613
+ -1
614
+ I
615
+ 18
616
+ I
617
+ 0
618
+ I
619
+ 19
620
+ I
621
+ 2
622
+ I
623
+ 1a
624
+ I
625
+ c
626
+ I
627
+ 1b
628
+ I
629
+ 16
630
+ I
631
+ 1c
632
+ I
633
+ 20
634
+ I
635
+ 1d
636
+ I
637
+ 29
638
+ I
639
+ 1e
640
+ I
641
+ 33
642
+ I
643
+ 1f
644
+ I
645
+ 3d
646
+ I
647
+ 22
648
+ I
649
+ 41
650
+ I
651
+ 21
652
+ I
653
+ 54
654
+ I
655
+ 0
656
+ I
657
+ 55
658
+ I
659
+ 24
660
+ I
661
+ 5a
662
+ x
663
+ 68
664
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
665
+ p
666
+ 1
667
+ x
668
+ 6
669
+ client
670
+ x
671
+ 17
672
+ method_visibility
673
+ x
674
+ 15
675
+ add_defn_method
676
+ p
677
+ 5
678
+ I
679
+ 2
680
+ I
681
+ c
682
+ I
683
+ a
684
+ I
685
+ 18
686
+ I
687
+ 18
688
+ x
689
+ 68
690
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
691
+ p
692
+ 0
693
+ x
694
+ 13
695
+ attach_method
696
+ x
697
+ 8
698
+ net_http
699
+ x
700
+ 8
701
+ @adapter
702
+ x
703
+ 10
704
+ initialize
705
+ M
706
+ 1
707
+ n
708
+ n
709
+ x
710
+ 10
711
+ initialize
712
+ i
713
+ 64
714
+ 45
715
+ 0
716
+ 1
717
+ 13
718
+ 71
719
+ 2
720
+ 47
721
+ 9
722
+ 26
723
+ 47
724
+ 49
725
+ 3
726
+ 0
727
+ 13
728
+ 20
729
+ 0
730
+ 49
731
+ 4
732
+ 0
733
+ 47
734
+ 49
735
+ 5
736
+ 1
737
+ 15
738
+ 8
739
+ 34
740
+ 20
741
+ 0
742
+ 49
743
+ 4
744
+ 0
745
+ 49
746
+ 2
747
+ 1
748
+ 38
749
+ 6
750
+ 15
751
+ 45
752
+ 7
753
+ 8
754
+ 13
755
+ 71
756
+ 2
757
+ 47
758
+ 9
759
+ 58
760
+ 47
761
+ 49
762
+ 3
763
+ 0
764
+ 13
765
+ 47
766
+ 49
767
+ 5
768
+ 0
769
+ 15
770
+ 8
771
+ 61
772
+ 49
773
+ 2
774
+ 0
775
+ 38
776
+ 9
777
+ 11
778
+ I
779
+ 4
780
+ I
781
+ 1
782
+ I
783
+ 1
784
+ I
785
+ 1
786
+ n
787
+ p
788
+ 10
789
+ x
790
+ 6
791
+ Locale
792
+ n
793
+ x
794
+ 3
795
+ new
796
+ x
797
+ 8
798
+ allocate
799
+ x
800
+ 6
801
+ to_sym
802
+ x
803
+ 10
804
+ initialize
805
+ x
806
+ 7
807
+ @locale
808
+ x
809
+ 4
810
+ Hash
811
+ n
812
+ x
813
+ 7
814
+ @params
815
+ p
816
+ 7
817
+ I
818
+ -1
819
+ I
820
+ 2c
821
+ I
822
+ 0
823
+ I
824
+ 2d
825
+ I
826
+ 25
827
+ I
828
+ 2e
829
+ I
830
+ 40
831
+ x
832
+ 68
833
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
834
+ p
835
+ 1
836
+ x
837
+ 6
838
+ locale
839
+ x
840
+ 17
841
+ method_visibility
842
+ x
843
+ 15
844
+ add_defn_method
845
+ x
846
+ 2
847
+ <<
848
+ M
849
+ 1
850
+ n
851
+ n
852
+ x
853
+ 2
854
+ <<
855
+ i
856
+ 8
857
+ 20
858
+ 0
859
+ 56
860
+ 0
861
+ 50
862
+ 1
863
+ 0
864
+ 11
865
+ I
866
+ 3
867
+ I
868
+ 1
869
+ I
870
+ 1
871
+ I
872
+ 1
873
+ n
874
+ p
875
+ 2
876
+ M
877
+ 1
878
+ p
879
+ 2
880
+ x
881
+ 9
882
+ for_block
883
+ t
884
+ n
885
+ x
886
+ 2
887
+ <<
888
+ i
889
+ 74
890
+ 58
891
+ 37
892
+ 19
893
+ 0
894
+ 15
895
+ 37
896
+ 19
897
+ 1
898
+ 15
899
+ 15
900
+ 20
901
+ 1
902
+ 45
903
+ 0
904
+ 1
905
+ 49
906
+ 2
907
+ 1
908
+ 9
909
+ 30
910
+ 20
911
+ 1
912
+ 7
913
+ 3
914
+ 64
915
+ 49
916
+ 4
917
+ 1
918
+ 8
919
+ 35
920
+ 20
921
+ 1
922
+ 49
923
+ 5
924
+ 0
925
+ 19
926
+ 1
927
+ 15
928
+ 20
929
+ 0
930
+ 49
931
+ 5
932
+ 0
933
+ 7
934
+ 6
935
+ 64
936
+ 49
937
+ 7
938
+ 1
939
+ 56
940
+ 8
941
+ 50
942
+ 9
943
+ 0
944
+ 49
945
+ 4
946
+ 0
947
+ 19
948
+ 0
949
+ 15
950
+ 39
951
+ 10
952
+ 20
953
+ 0
954
+ 20
955
+ 1
956
+ 13
957
+ 18
958
+ 3
959
+ 49
960
+ 11
961
+ 2
962
+ 15
963
+ 11
964
+ I
965
+ 7
966
+ I
967
+ 2
968
+ I
969
+ 2
970
+ I
971
+ 2
972
+ n
973
+ p
974
+ 12
975
+ x
976
+ 5
977
+ Array
978
+ n
979
+ x
980
+ 5
981
+ is_a?
982
+ s
983
+ 1
984
+ ,
985
+ x
986
+ 4
987
+ join
988
+ x
989
+ 4
990
+ to_s
991
+ s
992
+ 1
993
+ _
994
+ x
995
+ 5
996
+ split
997
+ M
998
+ 1
999
+ p
1000
+ 2
1001
+ x
1002
+ 9
1003
+ for_block
1004
+ t
1005
+ n
1006
+ x
1007
+ 2
1008
+ <<
1009
+ i
1010
+ 29
1011
+ 57
1012
+ 19
1013
+ 0
1014
+ 15
1015
+ 20
1016
+ 0
1017
+ 78
1018
+ 79
1019
+ 20
1020
+ 0
1021
+ 78
1022
+ 79
1023
+ 49
1024
+ 0
1025
+ 2
1026
+ 49
1027
+ 1
1028
+ 0
1029
+ 13
1030
+ 18
1031
+ 4
1032
+ 49
1033
+ 2
1034
+ 3
1035
+ 15
1036
+ 15
1037
+ 20
1038
+ 0
1039
+ 11
1040
+ I
1041
+ 8
1042
+ I
1043
+ 1
1044
+ I
1045
+ 1
1046
+ I
1047
+ 1
1048
+ n
1049
+ p
1050
+ 3
1051
+ x
1052
+ 2
1053
+ []
1054
+ x
1055
+ 6
1056
+ upcase
1057
+ x
1058
+ 3
1059
+ []=
1060
+ p
1061
+ 3
1062
+ I
1063
+ 0
1064
+ I
1065
+ 3b
1066
+ I
1067
+ 1d
1068
+ x
1069
+ 68
1070
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1071
+ p
1072
+ 1
1073
+ x
1074
+ 1
1075
+ w
1076
+ x
1077
+ 3
1078
+ map
1079
+ x
1080
+ 7
1081
+ @params
1082
+ x
1083
+ 3
1084
+ []=
1085
+ p
1086
+ 11
1087
+ I
1088
+ 0
1089
+ I
1090
+ 36
1091
+ I
1092
+ a
1093
+ I
1094
+ 38
1095
+ I
1096
+ 23
1097
+ I
1098
+ 38
1099
+ I
1100
+ 26
1101
+ I
1102
+ 3b
1103
+ I
1104
+ 3c
1105
+ I
1106
+ 3d
1107
+ I
1108
+ 4a
1109
+ x
1110
+ 68
1111
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1112
+ p
1113
+ 2
1114
+ x
1115
+ 1
1116
+ k
1117
+ x
1118
+ 1
1119
+ v
1120
+ x
1121
+ 4
1122
+ each
1123
+ p
1124
+ 5
1125
+ I
1126
+ -1
1127
+ I
1128
+ 35
1129
+ I
1130
+ 0
1131
+ I
1132
+ 36
1133
+ I
1134
+ 8
1135
+ x
1136
+ 68
1137
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1138
+ p
1139
+ 1
1140
+ x
1141
+ 4
1142
+ hash
1143
+ x
1144
+ 4
1145
+ aget
1146
+ M
1147
+ 1
1148
+ n
1149
+ n
1150
+ x
1151
+ 4
1152
+ aget
1153
+ i
1154
+ 92
1155
+ 95
1156
+ 19
1157
+ 0
1158
+ 15
1159
+ 5
1160
+ 48
1161
+ 0
1162
+ 7
1163
+ 1
1164
+ 83
1165
+ 2
1166
+ 9
1167
+ 16
1168
+ 1
1169
+ 8
1170
+ 27
1171
+ 5
1172
+ 45
1173
+ 3
1174
+ 4
1175
+ 7
1176
+ 5
1177
+ 64
1178
+ 47
1179
+ 49
1180
+ 6
1181
+ 2
1182
+ 15
1183
+ 45
1184
+ 7
1185
+ 8
1186
+ 43
1187
+ 9
1188
+ 13
1189
+ 71
1190
+ 10
1191
+ 47
1192
+ 9
1193
+ 54
1194
+ 47
1195
+ 49
1196
+ 11
1197
+ 0
1198
+ 13
1199
+ 5
1200
+ 48
1201
+ 12
1202
+ 47
1203
+ 49
1204
+ 13
1205
+ 1
1206
+ 15
1207
+ 8
1208
+ 60
1209
+ 5
1210
+ 48
1211
+ 12
1212
+ 49
1213
+ 10
1214
+ 1
1215
+ 49
1216
+ 14
1217
+ 0
1218
+ 19
1219
+ 1
1220
+ 15
1221
+ 5
1222
+ 56
1223
+ 15
1224
+ 47
1225
+ 50
1226
+ 16
1227
+ 0
1228
+ 19
1229
+ 2
1230
+ 15
1231
+ 20
1232
+ 1
1233
+ 56
1234
+ 17
1235
+ 50
1236
+ 18
1237
+ 0
1238
+ 15
1239
+ 20
1240
+ 1
1241
+ 56
1242
+ 19
1243
+ 50
1244
+ 20
1245
+ 0
1246
+ 11
1247
+ I
1248
+ 6
1249
+ I
1250
+ 3
1251
+ I
1252
+ 0
1253
+ I
1254
+ 0
1255
+ n
1256
+ p
1257
+ 21
1258
+ x
1259
+ 7
1260
+ adapter
1261
+ x
1262
+ 9
1263
+ synchrony
1264
+ x
1265
+ 2
1266
+ ==
1267
+ x
1268
+ 9
1269
+ TypeError
1270
+ n
1271
+ s
1272
+ 31
1273
+ Set HTTP client to `:synchrony`
1274
+ x
1275
+ 5
1276
+ raise
1277
+ x
1278
+ 2
1279
+ EM
1280
+ n
1281
+ x
1282
+ 11
1283
+ HttpRequest
1284
+ x
1285
+ 3
1286
+ new
1287
+ x
1288
+ 8
1289
+ allocate
1290
+ x
1291
+ 3
1292
+ url
1293
+ x
1294
+ 10
1295
+ initialize
1296
+ x
1297
+ 4
1298
+ aget
1299
+ M
1300
+ 1
1301
+ p
1302
+ 2
1303
+ x
1304
+ 9
1305
+ for_block
1306
+ t
1307
+ n
1308
+ x
1309
+ 4
1310
+ aget
1311
+ i
1312
+ 55
1313
+ 45
1314
+ 0
1315
+ 1
1316
+ 13
1317
+ 71
1318
+ 2
1319
+ 47
1320
+ 9
1321
+ 36
1322
+ 47
1323
+ 49
1324
+ 3
1325
+ 0
1326
+ 13
1327
+ 21
1328
+ 1
1329
+ 1
1330
+ 49
1331
+ 4
1332
+ 0
1333
+ 21
1334
+ 1
1335
+ 1
1336
+ 49
1337
+ 5
1338
+ 0
1339
+ 49
1340
+ 6
1341
+ 0
1342
+ 47
1343
+ 49
1344
+ 7
1345
+ 2
1346
+ 15
1347
+ 8
1348
+ 54
1349
+ 21
1350
+ 1
1351
+ 1
1352
+ 49
1353
+ 4
1354
+ 0
1355
+ 21
1356
+ 1
1357
+ 1
1358
+ 49
1359
+ 5
1360
+ 0
1361
+ 49
1362
+ 6
1363
+ 0
1364
+ 49
1365
+ 2
1366
+ 2
1367
+ 11
1368
+ I
1369
+ 5
1370
+ I
1371
+ 0
1372
+ I
1373
+ 0
1374
+ I
1375
+ 0
1376
+ I
1377
+ -2
1378
+ p
1379
+ 8
1380
+ x
1381
+ 8
1382
+ Response
1383
+ n
1384
+ x
1385
+ 3
1386
+ new
1387
+ x
1388
+ 8
1389
+ allocate
1390
+ x
1391
+ 8
1392
+ response
1393
+ x
1394
+ 15
1395
+ response_header
1396
+ x
1397
+ 6
1398
+ status
1399
+ x
1400
+ 10
1401
+ initialize
1402
+ p
1403
+ 3
1404
+ I
1405
+ 0
1406
+ I
1407
+ 4a
1408
+ I
1409
+ 37
1410
+ x
1411
+ 68
1412
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1413
+ p
1414
+ 0
1415
+ x
1416
+ 6
1417
+ lambda
1418
+ M
1419
+ 1
1420
+ p
1421
+ 2
1422
+ x
1423
+ 9
1424
+ for_block
1425
+ t
1426
+ n
1427
+ x
1428
+ 4
1429
+ aget
1430
+ i
1431
+ 13
1432
+ 21
1433
+ 1
1434
+ 0
1435
+ 21
1436
+ 1
1437
+ 2
1438
+ 49
1439
+ 0
1440
+ 0
1441
+ 49
1442
+ 0
1443
+ 1
1444
+ 11
1445
+ I
1446
+ 3
1447
+ I
1448
+ 0
1449
+ I
1450
+ 0
1451
+ I
1452
+ 0
1453
+ I
1454
+ -2
1455
+ p
1456
+ 1
1457
+ x
1458
+ 4
1459
+ call
1460
+ p
1461
+ 3
1462
+ I
1463
+ 0
1464
+ I
1465
+ 4b
1466
+ I
1467
+ d
1468
+ x
1469
+ 68
1470
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1471
+ p
1472
+ 0
1473
+ x
1474
+ 8
1475
+ callback
1476
+ M
1477
+ 1
1478
+ p
1479
+ 2
1480
+ x
1481
+ 9
1482
+ for_block
1483
+ t
1484
+ n
1485
+ x
1486
+ 4
1487
+ aget
1488
+ i
1489
+ 13
1490
+ 21
1491
+ 1
1492
+ 0
1493
+ 21
1494
+ 1
1495
+ 2
1496
+ 49
1497
+ 0
1498
+ 0
1499
+ 49
1500
+ 0
1501
+ 1
1502
+ 11
1503
+ I
1504
+ 3
1505
+ I
1506
+ 0
1507
+ I
1508
+ 0
1509
+ I
1510
+ 0
1511
+ I
1512
+ -2
1513
+ p
1514
+ 1
1515
+ x
1516
+ 4
1517
+ call
1518
+ p
1519
+ 3
1520
+ I
1521
+ 0
1522
+ I
1523
+ 4c
1524
+ I
1525
+ d
1526
+ x
1527
+ 68
1528
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1529
+ p
1530
+ 0
1531
+ x
1532
+ 7
1533
+ errback
1534
+ p
1535
+ 17
1536
+ I
1537
+ -1
1538
+ I
1539
+ 44
1540
+ I
1541
+ 4
1542
+ I
1543
+ 45
1544
+ I
1545
+ 10
1546
+ I
1547
+ 46
1548
+ I
1549
+ 1b
1550
+ I
1551
+ 0
1552
+ I
1553
+ 1c
1554
+ I
1555
+ 49
1556
+ I
1557
+ 42
1558
+ I
1559
+ 4a
1560
+ I
1561
+ 4c
1562
+ I
1563
+ 4b
1564
+ I
1565
+ 54
1566
+ I
1567
+ 4c
1568
+ I
1569
+ 5c
1570
+ x
1571
+ 68
1572
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1573
+ p
1574
+ 3
1575
+ x
1576
+ 5
1577
+ block
1578
+ x
1579
+ 4
1580
+ http
1581
+ x
1582
+ 4
1583
+ resp
1584
+ x
1585
+ 9
1586
+ configure
1587
+ M
1588
+ 1
1589
+ n
1590
+ n
1591
+ x
1592
+ 9
1593
+ configure
1594
+ i
1595
+ 12
1596
+ 95
1597
+ 19
1598
+ 0
1599
+ 15
1600
+ 20
1601
+ 0
1602
+ 39
1603
+ 0
1604
+ 49
1605
+ 1
1606
+ 1
1607
+ 11
1608
+ I
1609
+ 3
1610
+ I
1611
+ 1
1612
+ I
1613
+ 0
1614
+ I
1615
+ 0
1616
+ n
1617
+ p
1618
+ 2
1619
+ x
1620
+ 7
1621
+ @locale
1622
+ x
1623
+ 4
1624
+ call
1625
+ p
1626
+ 5
1627
+ I
1628
+ -1
1629
+ I
1630
+ 57
1631
+ I
1632
+ 4
1633
+ I
1634
+ 58
1635
+ I
1636
+ c
1637
+ x
1638
+ 68
1639
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
1640
+ p
1641
+ 1
1642
+ x
1643
+ 5
1644
+ block
1645
+ x
1646
+ 3
1647
+ get
1648
+ M
1649
+ 1
1650
+ n
1651
+ n
1652
+ x
1653
+ 3
1654
+ get
1655
+ i
1656
+ 204
1657
+ 5
1658
+ 48
1659
+ 0
1660
+ 13
1661
+ 7
1662
+ 1
1663
+ 12
1664
+ 49
1665
+ 2
1666
+ 1
1667
+ 9
1668
+ 51
1669
+ 15
1670
+ 45
1671
+ 3
1672
+ 4
1673
+ 43
1674
+ 5
1675
+ 5
1676
+ 48
1677
+ 6
1678
+ 49
1679
+ 7
1680
+ 0
1681
+ 49
1682
+ 8
1683
+ 1
1684
+ 19
1685
+ 0
1686
+ 15
1687
+ 20
1688
+ 0
1689
+ 49
1690
+ 9
1691
+ 0
1692
+ 20
1693
+ 0
1694
+ 49
1695
+ 10
1696
+ 0
1697
+ 17
1698
+ 2
1699
+ 19
1700
+ 1
1701
+ 15
1702
+ 19
1703
+ 2
1704
+ 15
1705
+ 2
1706
+ 8
1707
+ 170
1708
+ 13
1709
+ 7
1710
+ 11
1711
+ 12
1712
+ 49
1713
+ 2
1714
+ 1
1715
+ 9
1716
+ 123
1717
+ 15
1718
+ 45
1719
+ 12
1720
+ 13
1721
+ 43
1722
+ 14
1723
+ 13
1724
+ 71
1725
+ 15
1726
+ 47
1727
+ 9
1728
+ 87
1729
+ 47
1730
+ 49
1731
+ 16
1732
+ 0
1733
+ 13
1734
+ 5
1735
+ 48
1736
+ 6
1737
+ 47
1738
+ 49
1739
+ 17
1740
+ 1
1741
+ 15
1742
+ 8
1743
+ 93
1744
+ 5
1745
+ 48
1746
+ 6
1747
+ 49
1748
+ 15
1749
+ 1
1750
+ 49
1751
+ 18
1752
+ 0
1753
+ 19
1754
+ 0
1755
+ 15
1756
+ 20
1757
+ 0
1758
+ 49
1759
+ 19
1760
+ 0
1761
+ 20
1762
+ 0
1763
+ 49
1764
+ 20
1765
+ 0
1766
+ 49
1767
+ 21
1768
+ 0
1769
+ 17
1770
+ 2
1771
+ 19
1772
+ 1
1773
+ 15
1774
+ 19
1775
+ 2
1776
+ 15
1777
+ 2
1778
+ 8
1779
+ 170
1780
+ 13
1781
+ 7
1782
+ 22
1783
+ 12
1784
+ 49
1785
+ 2
1786
+ 1
1787
+ 9
1788
+ 168
1789
+ 15
1790
+ 45
1791
+ 23
1792
+ 24
1793
+ 43
1794
+ 25
1795
+ 5
1796
+ 48
1797
+ 6
1798
+ 49
1799
+ 26
1800
+ 1
1801
+ 19
1802
+ 3
1803
+ 15
1804
+ 20
1805
+ 3
1806
+ 49
1807
+ 27
1808
+ 0
1809
+ 20
1810
+ 3
1811
+ 49
1812
+ 28
1813
+ 0
1814
+ 17
1815
+ 2
1816
+ 19
1817
+ 1
1818
+ 15
1819
+ 19
1820
+ 2
1821
+ 15
1822
+ 2
1823
+ 8
1824
+ 170
1825
+ 15
1826
+ 1
1827
+ 15
1828
+ 45
1829
+ 29
1830
+ 30
1831
+ 13
1832
+ 71
1833
+ 15
1834
+ 47
1835
+ 9
1836
+ 196
1837
+ 47
1838
+ 49
1839
+ 16
1840
+ 0
1841
+ 13
1842
+ 20
1843
+ 1
1844
+ 20
1845
+ 2
1846
+ 47
1847
+ 49
1848
+ 17
1849
+ 2
1850
+ 15
1851
+ 8
1852
+ 203
1853
+ 20
1854
+ 1
1855
+ 20
1856
+ 2
1857
+ 49
1858
+ 15
1859
+ 2
1860
+ 11
1861
+ I
1862
+ 8
1863
+ I
1864
+ 4
1865
+ I
1866
+ 0
1867
+ I
1868
+ 0
1869
+ n
1870
+ p
1871
+ 31
1872
+ x
1873
+ 7
1874
+ adapter
1875
+ x
1876
+ 4
1877
+ curb
1878
+ x
1879
+ 3
1880
+ ===
1881
+ x
1882
+ 4
1883
+ Curl
1884
+ n
1885
+ x
1886
+ 4
1887
+ Easy
1888
+ x
1889
+ 3
1890
+ url
1891
+ x
1892
+ 4
1893
+ to_s
1894
+ x
1895
+ 7
1896
+ perform
1897
+ x
1898
+ 8
1899
+ body_str
1900
+ x
1901
+ 13
1902
+ response_code
1903
+ x
1904
+ 9
1905
+ synchrony
1906
+ x
1907
+ 2
1908
+ EM
1909
+ n
1910
+ x
1911
+ 11
1912
+ HttpRequest
1913
+ x
1914
+ 3
1915
+ new
1916
+ x
1917
+ 8
1918
+ allocate
1919
+ x
1920
+ 10
1921
+ initialize
1922
+ x
1923
+ 3
1924
+ get
1925
+ x
1926
+ 8
1927
+ response
1928
+ x
1929
+ 15
1930
+ response_header
1931
+ x
1932
+ 6
1933
+ status
1934
+ x
1935
+ 8
1936
+ net_http
1937
+ x
1938
+ 3
1939
+ Net
1940
+ n
1941
+ x
1942
+ 4
1943
+ HTTP
1944
+ x
1945
+ 12
1946
+ get_response
1947
+ x
1948
+ 4
1949
+ body
1950
+ x
1951
+ 4
1952
+ code
1953
+ x
1954
+ 8
1955
+ Response
1956
+ n
1957
+ p
1958
+ 29
1959
+ I
1960
+ -1
1961
+ I
1962
+ 5c
1963
+ I
1964
+ 0
1965
+ I
1966
+ 5d
1967
+ I
1968
+ 3
1969
+ I
1970
+ 5e
1971
+ I
1972
+ d
1973
+ I
1974
+ 5f
1975
+ I
1976
+ 1e
1977
+ I
1978
+ 60
1979
+ I
1980
+ 33
1981
+ I
1982
+ 61
1983
+ I
1984
+ 3d
1985
+ I
1986
+ 62
1987
+ I
1988
+ 63
1989
+ I
1990
+ 63
1991
+ I
1992
+ 7b
1993
+ I
1994
+ 64
1995
+ I
1996
+ 85
1997
+ I
1998
+ 65
1999
+ I
2000
+ 93
2001
+ I
2002
+ 66
2003
+ I
2004
+ a9
2005
+ I
2006
+ 5d
2007
+ I
2008
+ aa
2009
+ I
2010
+ 0
2011
+ I
2012
+ ab
2013
+ I
2014
+ 69
2015
+ I
2016
+ cc
2017
+ x
2018
+ 68
2019
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2020
+ p
2021
+ 4
2022
+ x
2023
+ 4
2024
+ http
2025
+ x
2026
+ 4
2027
+ body
2028
+ x
2029
+ 4
2030
+ code
2031
+ x
2032
+ 4
2033
+ resp
2034
+ x
2035
+ 6
2036
+ params
2037
+ M
2038
+ 1
2039
+ n
2040
+ n
2041
+ x
2042
+ 6
2043
+ params
2044
+ i
2045
+ 111
2046
+ 39
2047
+ 0
2048
+ 49
2049
+ 1
2050
+ 0
2051
+ 9
2052
+ 10
2053
+ 1
2054
+ 8
2055
+ 18
2056
+ 5
2057
+ 45
2058
+ 2
2059
+ 3
2060
+ 47
2061
+ 49
2062
+ 4
2063
+ 1
2064
+ 15
2065
+ 39
2066
+ 0
2067
+ 49
2068
+ 5
2069
+ 0
2070
+ 9
2071
+ 29
2072
+ 1
2073
+ 8
2074
+ 37
2075
+ 5
2076
+ 45
2077
+ 6
2078
+ 7
2079
+ 47
2080
+ 49
2081
+ 4
2082
+ 1
2083
+ 15
2084
+ 44
2085
+ 43
2086
+ 8
2087
+ 4
2088
+ 5
2089
+ 49
2090
+ 9
2091
+ 1
2092
+ 13
2093
+ 7
2094
+ 10
2095
+ 64
2096
+ 39
2097
+ 0
2098
+ 49
2099
+ 1
2100
+ 0
2101
+ 49
2102
+ 11
2103
+ 2
2104
+ 15
2105
+ 13
2106
+ 7
2107
+ 12
2108
+ 64
2109
+ 39
2110
+ 0
2111
+ 49
2112
+ 5
2113
+ 0
2114
+ 49
2115
+ 11
2116
+ 2
2117
+ 15
2118
+ 13
2119
+ 7
2120
+ 13
2121
+ 64
2122
+ 7
2123
+ 14
2124
+ 64
2125
+ 49
2126
+ 11
2127
+ 2
2128
+ 15
2129
+ 13
2130
+ 7
2131
+ 15
2132
+ 64
2133
+ 5
2134
+ 48
2135
+ 16
2136
+ 49
2137
+ 11
2138
+ 2
2139
+ 15
2140
+ 13
2141
+ 7
2142
+ 17
2143
+ 64
2144
+ 45
2145
+ 18
2146
+ 19
2147
+ 49
2148
+ 11
2149
+ 2
2150
+ 15
2151
+ 39
2152
+ 20
2153
+ 49
2154
+ 21
2155
+ 1
2156
+ 11
2157
+ I
2158
+ 4
2159
+ I
2160
+ 0
2161
+ I
2162
+ 0
2163
+ I
2164
+ 0
2165
+ n
2166
+ p
2167
+ 22
2168
+ x
2169
+ 7
2170
+ @locale
2171
+ x
2172
+ 3
2173
+ key
2174
+ x
2175
+ 10
2176
+ MissingKey
2177
+ n
2178
+ x
2179
+ 5
2180
+ raise
2181
+ x
2182
+ 3
2183
+ tag
2184
+ x
2185
+ 10
2186
+ MissingTag
2187
+ n
2188
+ x
2189
+ 4
2190
+ Hash
2191
+ x
2192
+ 16
2193
+ new_from_literal
2194
+ s
2195
+ 14
2196
+ AWSAccessKeyId
2197
+ x
2198
+ 3
2199
+ []=
2200
+ s
2201
+ 12
2202
+ AssociateTag
2203
+ s
2204
+ 7
2205
+ Service
2206
+ s
2207
+ 19
2208
+ AWSECommerceService
2209
+ s
2210
+ 9
2211
+ Timestamp
2212
+ x
2213
+ 9
2214
+ timestamp
2215
+ s
2216
+ 7
2217
+ Version
2218
+ x
2219
+ 19
2220
+ CURRENT_API_VERSION
2221
+ n
2222
+ x
2223
+ 7
2224
+ @params
2225
+ x
2226
+ 5
2227
+ merge
2228
+ p
2229
+ 23
2230
+ I
2231
+ -1
2232
+ I
2233
+ 6d
2234
+ I
2235
+ 0
2236
+ I
2237
+ 6e
2238
+ I
2239
+ 12
2240
+ I
2241
+ 0
2242
+ I
2243
+ 13
2244
+ I
2245
+ 6f
2246
+ I
2247
+ 25
2248
+ I
2249
+ 0
2250
+ I
2251
+ 26
2252
+ I
2253
+ 75
2254
+ I
2255
+ 2f
2256
+ I
2257
+ 71
2258
+ I
2259
+ 3c
2260
+ I
2261
+ 72
2262
+ I
2263
+ 49
2264
+ I
2265
+ 73
2266
+ I
2267
+ 54
2268
+ I
2269
+ 74
2270
+ I
2271
+ 5f
2272
+ I
2273
+ 75
2274
+ I
2275
+ 6f
2276
+ x
2277
+ 68
2278
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2279
+ p
2280
+ 0
2281
+ x
2282
+ 5
2283
+ query
2284
+ M
2285
+ 1
2286
+ n
2287
+ n
2288
+ x
2289
+ 5
2290
+ query
2291
+ i
2292
+ 18
2293
+ 5
2294
+ 48
2295
+ 0
2296
+ 49
2297
+ 1
2298
+ 0
2299
+ 56
2300
+ 2
2301
+ 50
2302
+ 3
2303
+ 0
2304
+ 7
2305
+ 4
2306
+ 64
2307
+ 49
2308
+ 5
2309
+ 1
2310
+ 11
2311
+ I
2312
+ 2
2313
+ I
2314
+ 0
2315
+ I
2316
+ 0
2317
+ I
2318
+ 0
2319
+ n
2320
+ p
2321
+ 6
2322
+ x
2323
+ 6
2324
+ params
2325
+ x
2326
+ 4
2327
+ sort
2328
+ M
2329
+ 1
2330
+ p
2331
+ 2
2332
+ x
2333
+ 9
2334
+ for_block
2335
+ t
2336
+ n
2337
+ x
2338
+ 5
2339
+ query
2340
+ i
2341
+ 29
2342
+ 58
2343
+ 37
2344
+ 19
2345
+ 0
2346
+ 15
2347
+ 37
2348
+ 19
2349
+ 1
2350
+ 15
2351
+ 15
2352
+ 20
2353
+ 0
2354
+ 47
2355
+ 101
2356
+ 0
2357
+ 7
2358
+ 1
2359
+ 63
2360
+ 2
2361
+ 5
2362
+ 20
2363
+ 1
2364
+ 47
2365
+ 49
2366
+ 2
2367
+ 1
2368
+ 81
2369
+ 3
2370
+ 11
2371
+ I
2372
+ 6
2373
+ I
2374
+ 2
2375
+ I
2376
+ 2
2377
+ I
2378
+ 2
2379
+ n
2380
+ p
2381
+ 4
2382
+ x
2383
+ 4
2384
+ to_s
2385
+ s
2386
+ 1
2387
+ =
2388
+ x
2389
+ 6
2390
+ escape
2391
+ x
2392
+ 1
2393
+ +
2394
+ p
2395
+ 3
2396
+ I
2397
+ 0
2398
+ I
2399
+ 7a
2400
+ I
2401
+ 1d
2402
+ x
2403
+ 68
2404
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2405
+ p
2406
+ 2
2407
+ x
2408
+ 1
2409
+ k
2410
+ x
2411
+ 1
2412
+ v
2413
+ x
2414
+ 3
2415
+ map
2416
+ s
2417
+ 1
2418
+ &
2419
+ x
2420
+ 4
2421
+ join
2422
+ p
2423
+ 5
2424
+ I
2425
+ -1
2426
+ I
2427
+ 79
2428
+ I
2429
+ 0
2430
+ I
2431
+ 7a
2432
+ I
2433
+ 12
2434
+ x
2435
+ 68
2436
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2437
+ p
2438
+ 0
2439
+ x
2440
+ 5
2441
+ reset
2442
+ M
2443
+ 1
2444
+ n
2445
+ n
2446
+ x
2447
+ 5
2448
+ reset
2449
+ i
2450
+ 27
2451
+ 45
2452
+ 0
2453
+ 1
2454
+ 13
2455
+ 71
2456
+ 2
2457
+ 47
2458
+ 9
2459
+ 21
2460
+ 47
2461
+ 49
2462
+ 3
2463
+ 0
2464
+ 13
2465
+ 47
2466
+ 49
2467
+ 4
2468
+ 0
2469
+ 15
2470
+ 8
2471
+ 24
2472
+ 49
2473
+ 2
2474
+ 0
2475
+ 38
2476
+ 5
2477
+ 11
2478
+ I
2479
+ 2
2480
+ I
2481
+ 0
2482
+ I
2483
+ 0
2484
+ I
2485
+ 0
2486
+ n
2487
+ p
2488
+ 6
2489
+ x
2490
+ 4
2491
+ Hash
2492
+ n
2493
+ x
2494
+ 3
2495
+ new
2496
+ x
2497
+ 8
2498
+ allocate
2499
+ x
2500
+ 10
2501
+ initialize
2502
+ x
2503
+ 7
2504
+ @params
2505
+ p
2506
+ 5
2507
+ I
2508
+ -1
2509
+ I
2510
+ 7e
2511
+ I
2512
+ 0
2513
+ I
2514
+ 7f
2515
+ I
2516
+ 1b
2517
+ x
2518
+ 68
2519
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2520
+ p
2521
+ 0
2522
+ x
2523
+ 4
2524
+ sign
2525
+ M
2526
+ 1
2527
+ n
2528
+ n
2529
+ x
2530
+ 4
2531
+ sign
2532
+ i
2533
+ 136
2534
+ 39
2535
+ 0
2536
+ 49
2537
+ 1
2538
+ 0
2539
+ 9
2540
+ 10
2541
+ 1
2542
+ 8
2543
+ 18
2544
+ 5
2545
+ 45
2546
+ 2
2547
+ 3
2548
+ 47
2549
+ 49
2550
+ 4
2551
+ 1
2552
+ 15
2553
+ 45
2554
+ 5
2555
+ 6
2556
+ 43
2557
+ 7
2558
+ 43
2559
+ 7
2560
+ 13
2561
+ 71
2562
+ 8
2563
+ 47
2564
+ 9
2565
+ 47
2566
+ 47
2567
+ 49
2568
+ 9
2569
+ 0
2570
+ 13
2571
+ 7
2572
+ 10
2573
+ 64
2574
+ 47
2575
+ 49
2576
+ 11
2577
+ 1
2578
+ 15
2579
+ 8
2580
+ 53
2581
+ 7
2582
+ 10
2583
+ 64
2584
+ 49
2585
+ 8
2586
+ 1
2587
+ 19
2588
+ 1
2589
+ 15
2590
+ 7
2591
+ 12
2592
+ 64
2593
+ 39
2594
+ 0
2595
+ 49
2596
+ 13
2597
+ 0
2598
+ 7
2599
+ 14
2600
+ 64
2601
+ 20
2602
+ 0
2603
+ 35
2604
+ 4
2605
+ 7
2606
+ 15
2607
+ 64
2608
+ 49
2609
+ 16
2610
+ 1
2611
+ 19
2612
+ 2
2613
+ 15
2614
+ 45
2615
+ 5
2616
+ 17
2617
+ 43
2618
+ 18
2619
+ 20
2620
+ 1
2621
+ 39
2622
+ 0
2623
+ 49
2624
+ 1
2625
+ 0
2626
+ 20
2627
+ 2
2628
+ 49
2629
+ 19
2630
+ 3
2631
+ 19
2632
+ 3
2633
+ 15
2634
+ 5
2635
+ 20
2636
+ 3
2637
+ 35
2638
+ 1
2639
+ 7
2640
+ 20
2641
+ 64
2642
+ 49
2643
+ 21
2644
+ 1
2645
+ 49
2646
+ 22
2647
+ 0
2648
+ 47
2649
+ 49
2650
+ 23
2651
+ 1
2652
+ 19
2653
+ 4
2654
+ 15
2655
+ 20
2656
+ 0
2657
+ 47
2658
+ 101
2659
+ 24
2660
+ 7
2661
+ 25
2662
+ 20
2663
+ 4
2664
+ 47
2665
+ 101
2666
+ 24
2667
+ 63
2668
+ 3
2669
+ 11
2670
+ I
2671
+ 9
2672
+ I
2673
+ 5
2674
+ I
2675
+ 1
2676
+ I
2677
+ 1
2678
+ n
2679
+ p
2680
+ 26
2681
+ x
2682
+ 7
2683
+ @locale
2684
+ x
2685
+ 6
2686
+ secret
2687
+ x
2688
+ 13
2689
+ MissingSecret
2690
+ n
2691
+ x
2692
+ 5
2693
+ raise
2694
+ x
2695
+ 7
2696
+ OpenSSL
2697
+ n
2698
+ x
2699
+ 6
2700
+ Digest
2701
+ x
2702
+ 3
2703
+ new
2704
+ x
2705
+ 8
2706
+ allocate
2707
+ s
2708
+ 6
2709
+ sha256
2710
+ x
2711
+ 10
2712
+ initialize
2713
+ s
2714
+ 3
2715
+ GET
2716
+ x
2717
+ 4
2718
+ host
2719
+ s
2720
+ 9
2721
+ /onca/xml
2722
+ s
2723
+ 1
2724
+
2725
+
2726
+ x
2727
+ 4
2728
+ join
2729
+ n
2730
+ x
2731
+ 4
2732
+ HMAC
2733
+ x
2734
+ 6
2735
+ digest
2736
+ s
2737
+ 1
2738
+ m
2739
+ x
2740
+ 4
2741
+ pack
2742
+ x
2743
+ 5
2744
+ chomp
2745
+ x
2746
+ 6
2747
+ escape
2748
+ x
2749
+ 4
2750
+ to_s
2751
+ s
2752
+ 11
2753
+ &Signature=
2754
+ p
2755
+ 17
2756
+ I
2757
+ -1
2758
+ I
2759
+ 83
2760
+ I
2761
+ 0
2762
+ I
2763
+ 84
2764
+ I
2765
+ 12
2766
+ I
2767
+ 0
2768
+ I
2769
+ 13
2770
+ I
2771
+ 86
2772
+ I
2773
+ 38
2774
+ I
2775
+ 87
2776
+ I
2777
+ 50
2778
+ I
2779
+ 88
2780
+ I
2781
+ 64
2782
+ I
2783
+ 89
2784
+ I
2785
+ 79
2786
+ I
2787
+ 8b
2788
+ I
2789
+ 88
2790
+ x
2791
+ 68
2792
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2793
+ p
2794
+ 5
2795
+ x
2796
+ 14
2797
+ unsigned_query
2798
+ x
2799
+ 6
2800
+ digest
2801
+ x
2802
+ 10
2803
+ url_string
2804
+ x
2805
+ 4
2806
+ hmac
2807
+ x
2808
+ 9
2809
+ signature
2810
+ x
2811
+ 9
2812
+ timestamp
2813
+ M
2814
+ 1
2815
+ n
2816
+ n
2817
+ x
2818
+ 9
2819
+ timestamp
2820
+ i
2821
+ 16
2822
+ 45
2823
+ 0
2824
+ 1
2825
+ 49
2826
+ 2
2827
+ 0
2828
+ 49
2829
+ 3
2830
+ 0
2831
+ 7
2832
+ 4
2833
+ 64
2834
+ 49
2835
+ 5
2836
+ 1
2837
+ 11
2838
+ I
2839
+ 2
2840
+ I
2841
+ 0
2842
+ I
2843
+ 0
2844
+ I
2845
+ 0
2846
+ n
2847
+ p
2848
+ 6
2849
+ x
2850
+ 4
2851
+ Time
2852
+ n
2853
+ x
2854
+ 3
2855
+ now
2856
+ x
2857
+ 3
2858
+ utc
2859
+ s
2860
+ 18
2861
+ %Y-%m-%dT%H:%M:%SZ
2862
+ x
2863
+ 8
2864
+ strftime
2865
+ p
2866
+ 5
2867
+ I
2868
+ -1
2869
+ I
2870
+ 8f
2871
+ I
2872
+ 0
2873
+ I
2874
+ 90
2875
+ I
2876
+ 10
2877
+ x
2878
+ 68
2879
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
2880
+ p
2881
+ 0
2882
+ x
2883
+ 3
2884
+ url
2885
+ M
2886
+ 1
2887
+ n
2888
+ n
2889
+ x
2890
+ 3
2891
+ url
2892
+ i
2893
+ 54
2894
+ 45
2895
+ 0
2896
+ 1
2897
+ 43
2898
+ 2
2899
+ 44
2900
+ 43
2901
+ 3
2902
+ 4
2903
+ 3
2904
+ 49
2905
+ 4
2906
+ 1
2907
+ 13
2908
+ 7
2909
+ 5
2910
+ 39
2911
+ 6
2912
+ 49
2913
+ 5
2914
+ 0
2915
+ 49
2916
+ 7
2917
+ 2
2918
+ 15
2919
+ 13
2920
+ 7
2921
+ 8
2922
+ 7
2923
+ 9
2924
+ 64
2925
+ 49
2926
+ 7
2927
+ 2
2928
+ 15
2929
+ 13
2930
+ 7
2931
+ 10
2932
+ 5
2933
+ 5
2934
+ 48
2935
+ 10
2936
+ 47
2937
+ 49
2938
+ 11
2939
+ 1
2940
+ 49
2941
+ 7
2942
+ 2
2943
+ 15
2944
+ 49
2945
+ 12
2946
+ 1
2947
+ 11
2948
+ I
2949
+ 6
2950
+ I
2951
+ 0
2952
+ I
2953
+ 0
2954
+ I
2955
+ 0
2956
+ n
2957
+ p
2958
+ 13
2959
+ x
2960
+ 3
2961
+ URI
2962
+ n
2963
+ x
2964
+ 4
2965
+ HTTP
2966
+ x
2967
+ 4
2968
+ Hash
2969
+ x
2970
+ 16
2971
+ new_from_literal
2972
+ x
2973
+ 4
2974
+ host
2975
+ x
2976
+ 7
2977
+ @locale
2978
+ x
2979
+ 3
2980
+ []=
2981
+ x
2982
+ 4
2983
+ path
2984
+ s
2985
+ 9
2986
+ /onca/xml
2987
+ x
2988
+ 5
2989
+ query
2990
+ x
2991
+ 4
2992
+ sign
2993
+ x
2994
+ 5
2995
+ build
2996
+ p
2997
+ 15
2998
+ I
2999
+ -1
3000
+ I
3001
+ 94
3002
+ I
3003
+ 0
3004
+ I
3005
+ 95
3006
+ I
3007
+ 5
3008
+ I
3009
+ 97
3010
+ I
3011
+ e
3012
+ I
3013
+ 95
3014
+ I
3015
+ 1a
3016
+ I
3017
+ 96
3018
+ I
3019
+ 24
3020
+ I
3021
+ 97
3022
+ I
3023
+ 32
3024
+ I
3025
+ 95
3026
+ I
3027
+ 36
3028
+ x
3029
+ 68
3030
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3031
+ p
3032
+ 0
3033
+ x
3034
+ 7
3035
+ private
3036
+ x
3037
+ 7
3038
+ adapter
3039
+ M
3040
+ 1
3041
+ n
3042
+ n
3043
+ x
3044
+ 7
3045
+ adapter
3046
+ i
3047
+ 7
3048
+ 45
3049
+ 0
3050
+ 1
3051
+ 49
3052
+ 2
3053
+ 0
3054
+ 11
3055
+ I
3056
+ 1
3057
+ I
3058
+ 0
3059
+ I
3060
+ 0
3061
+ I
3062
+ 0
3063
+ n
3064
+ p
3065
+ 3
3066
+ x
3067
+ 7
3068
+ Request
3069
+ n
3070
+ x
3071
+ 7
3072
+ adapter
3073
+ p
3074
+ 5
3075
+ I
3076
+ -1
3077
+ I
3078
+ 9c
3079
+ I
3080
+ 0
3081
+ I
3082
+ 9d
3083
+ I
3084
+ 7
3085
+ x
3086
+ 68
3087
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3088
+ p
3089
+ 0
3090
+ x
3091
+ 6
3092
+ escape
3093
+ M
3094
+ 1
3095
+ n
3096
+ n
3097
+ x
3098
+ 6
3099
+ escape
3100
+ i
3101
+ 26
3102
+ 20
3103
+ 0
3104
+ 7
3105
+ 0
3106
+ 13
3107
+ 70
3108
+ 9
3109
+ 20
3110
+ 15
3111
+ 44
3112
+ 43
3113
+ 1
3114
+ 7
3115
+ 2
3116
+ 78
3117
+ 49
3118
+ 3
3119
+ 2
3120
+ 6
3121
+ 0
3122
+ 56
3123
+ 4
3124
+ 50
3125
+ 5
3126
+ 1
3127
+ 11
3128
+ I
3129
+ 5
3130
+ I
3131
+ 1
3132
+ I
3133
+ 1
3134
+ I
3135
+ 1
3136
+ n
3137
+ p
3138
+ 6
3139
+ n
3140
+ x
3141
+ 6
3142
+ Regexp
3143
+ s
3144
+ 19
3145
+ ([^a-zA-Z0-9_.~-]+)
3146
+ x
3147
+ 3
3148
+ new
3149
+ M
3150
+ 1
3151
+ p
3152
+ 2
3153
+ x
3154
+ 9
3155
+ for_block
3156
+ t
3157
+ n
3158
+ x
3159
+ 6
3160
+ escape
3161
+ i
3162
+ 39
3163
+ 7
3164
+ 0
3165
+ 64
3166
+ 4
3167
+ 5
3168
+ 78
3169
+ 98
3170
+ 1
3171
+ 2
3172
+ 7
3173
+ 2
3174
+ 64
3175
+ 4
3176
+ 5
3177
+ 78
3178
+ 98
3179
+ 1
3180
+ 2
3181
+ 49
3182
+ 3
3183
+ 0
3184
+ 49
3185
+ 4
3186
+ 1
3187
+ 49
3188
+ 5
3189
+ 1
3190
+ 7
3191
+ 0
3192
+ 64
3193
+ 49
3194
+ 6
3195
+ 1
3196
+ 49
3197
+ 7
3198
+ 0
3199
+ 81
3200
+ 8
3201
+ 11
3202
+ I
3203
+ 6
3204
+ I
3205
+ 0
3206
+ I
3207
+ 0
3208
+ I
3209
+ 0
3210
+ I
3211
+ -2
3212
+ p
3213
+ 9
3214
+ s
3215
+ 1
3216
+ %
3217
+ x
3218
+ 24
3219
+ regexp_last_match_result
3220
+ s
3221
+ 2
3222
+ H2
3223
+ x
3224
+ 8
3225
+ bytesize
3226
+ x
3227
+ 1
3228
+ *
3229
+ x
3230
+ 6
3231
+ unpack
3232
+ x
3233
+ 4
3234
+ join
3235
+ x
3236
+ 6
3237
+ upcase
3238
+ x
3239
+ 1
3240
+ +
3241
+ p
3242
+ 3
3243
+ I
3244
+ 0
3245
+ I
3246
+ a2
3247
+ I
3248
+ 27
3249
+ x
3250
+ 68
3251
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3252
+ p
3253
+ 0
3254
+ x
3255
+ 4
3256
+ gsub
3257
+ p
3258
+ 5
3259
+ I
3260
+ -1
3261
+ I
3262
+ a0
3263
+ I
3264
+ 0
3265
+ I
3266
+ a1
3267
+ I
3268
+ 1a
3269
+ x
3270
+ 68
3271
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3272
+ p
3273
+ 1
3274
+ x
3275
+ 5
3276
+ value
3277
+ p
3278
+ 37
3279
+ I
3280
+ 2
3281
+ I
3282
+ 4
3283
+ I
3284
+ b
3285
+ I
3286
+ 8
3287
+ I
3288
+ 15
3289
+ I
3290
+ a
3291
+ I
3292
+ 31
3293
+ I
3294
+ 29
3295
+ I
3296
+ 36
3297
+ I
3298
+ 2c
3299
+ I
3300
+ 44
3301
+ I
3302
+ 35
3303
+ I
3304
+ 52
3305
+ I
3306
+ 44
3307
+ I
3308
+ 60
3309
+ I
3310
+ 57
3311
+ I
3312
+ 6e
3313
+ I
3314
+ 5c
3315
+ I
3316
+ 7c
3317
+ I
3318
+ 6d
3319
+ I
3320
+ 8a
3321
+ I
3322
+ 79
3323
+ I
3324
+ 98
3325
+ I
3326
+ 7e
3327
+ I
3328
+ a6
3329
+ I
3330
+ 83
3331
+ I
3332
+ b4
3333
+ I
3334
+ 8f
3335
+ I
3336
+ c2
3337
+ I
3338
+ 94
3339
+ I
3340
+ d0
3341
+ I
3342
+ 9a
3343
+ I
3344
+ d4
3345
+ I
3346
+ 9c
3347
+ I
3348
+ e2
3349
+ I
3350
+ a0
3351
+ I
3352
+ f0
3353
+ x
3354
+ 68
3355
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3356
+ p
3357
+ 0
3358
+ x
3359
+ 13
3360
+ attach_method
3361
+ p
3362
+ 3
3363
+ I
3364
+ 2
3365
+ I
3366
+ 3
3367
+ I
3368
+ 1d
3369
+ x
3370
+ 68
3371
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3372
+ p
3373
+ 0
3374
+ x
3375
+ 13
3376
+ attach_method
3377
+ p
3378
+ 3
3379
+ I
3380
+ 0
3381
+ I
3382
+ 1
3383
+ I
3384
+ 1c
3385
+ x
3386
+ 68
3387
+ /Users/hakanensari/code/amazon_product/lib/amazon_product/request.rb
3388
+ p
3389
+ 0