amazon-ecs 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -0
- data/lib/amazon/ecs.rb +1 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/amazon/ecs.rb
CHANGED
@@ -68,7 +68,6 @@ module Amazon
|
|
68
68
|
# Search amazon items with search terms. Default search index option is 'Books'.
|
69
69
|
# For other search type other than keywords, please specify :type => [search type param name].
|
70
70
|
def self.item_search(terms, opts = {})
|
71
|
-
opts = self.options.merge(opts) if self.options
|
72
71
|
opts[:operation] = 'ItemSearch'
|
73
72
|
opts[:search_index] = opts[:search_index] || 'Books'
|
74
73
|
|
@@ -84,7 +83,6 @@ module Amazon
|
|
84
83
|
|
85
84
|
# Search an item by ASIN no.
|
86
85
|
def self.item_lookup(item_id, opts = {})
|
87
|
-
opts = self.options.merge(opts) if self.options
|
88
86
|
opts[:operation] = 'ItemLookup'
|
89
87
|
opts[:item_id] = item_id
|
90
88
|
|
@@ -93,6 +91,7 @@ module Amazon
|
|
93
91
|
|
94
92
|
# Generic send request to ECS REST service. You have to specify the :operation parameter.
|
95
93
|
def self.send_request(opts)
|
94
|
+
opts = self.options.merge(opts) if self.options
|
96
95
|
request_url = prepare_url(opts)
|
97
96
|
log "Request URL: #{request_url}"
|
98
97
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: amazon-ecs
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
7
|
-
date: 2007-09-
|
6
|
+
version: 0.5.3
|
7
|
+
date: 2007-09-12 00:00:00 +08:00
|
8
8
|
summary: Generic Amazon E-commerce Service (ECS) REST API. Supports ECS 4.0.
|
9
9
|
require_paths:
|
10
10
|
- lib
|