amazon-ecs 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/amazon/ecs.rb +10 -2
  2. metadata +6 -6
@@ -36,7 +36,7 @@ module Amazon
36
36
  :uk => 'http://ecs.amazonaws.co.uk/onca/xml?',
37
37
  :ca => 'http://ecs.amazonaws.ca/onca/xml?',
38
38
  :de => 'http://ecs.amazonaws.de/onca/xml?',
39
- :jp => 'http://ecs.amazonaws.co.jp/onca/xml?',
39
+ :jp => 'http://ecs.amazonaws.jp/onca/xml?',
40
40
  :fr => 'http://ecs.amazonaws.fr/onca/xml?',
41
41
  :it => 'http://ecs.amazonaws.it/onca/xml?'
42
42
  }
@@ -101,7 +101,15 @@ module Amazon
101
101
 
102
102
  self.send_request(opts)
103
103
  end
104
-
104
+
105
+ # Search a browse node by BrowseNodeId
106
+ def self.browse_node_lookup(browse_node_id, opts = {})
107
+ opts[:operation] = 'BrowseNodeLookup'
108
+ opts[:browse_node_id] = browse_node_id
109
+
110
+ self.send_request(opts)
111
+ end
112
+
105
113
  # Generic send request to ECS REST service. You have to specify the :operation parameter.
106
114
  def self.send_request(opts)
107
115
  opts = self.options.merge(opts) if self.options
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-18 00:00:00.000000000 +08:00
12
+ date: 2011-09-05 00:00:00.000000000 +08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &2165062420 !ruby/object:Gem::Requirement
17
+ requirement: &2165162400 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.4.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2165062420
25
+ version_requirements: *2165162400
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ruby-hmac
28
- requirement: &2165061940 !ruby/object:Gem::Requirement
28
+ requirement: &2165161920 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 0.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2165061940
36
+ version_requirements: *2165161920
37
37
  description: Generic Amazon Product Advertising Ruby API
38
38
  email: herryanto@gmail.com
39
39
  executables: []