productwars-api 0.1.0

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.
Files changed (32) hide show
  1. data/.document +5 -0
  2. data/Gemfile +14 -0
  3. data/Gemfile.lock +40 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +19 -0
  6. data/Rakefile +53 -0
  7. data/VERSION +1 -0
  8. data/lib/productwars/client.rb +120 -0
  9. data/lib/productwars/errors.rb +6 -0
  10. data/lib/productwars/product.rb +4 -0
  11. data/lib/productwars/response.rb +4 -0
  12. data/lib/productwars/stats.rb +4 -0
  13. data/lib/productwars/war.rb +4 -0
  14. data/lib/productwars.rb +12 -0
  15. data/productwars-api.gemspec +98 -0
  16. data/spec/cassettes/ProductWars/_all_wars/successful_wars_index_request.yml +28 -0
  17. data/spec/cassettes/ProductWars/_global_leaders/successful_products_index_request.yml +29 -0
  18. data/spec/cassettes/ProductWars/_leaders_in_war/successful_request.yml +28 -0
  19. data/spec/cassettes/ProductWars/_leaders_in_war/unsuccessful_request.yml +26 -0
  20. data/spec/cassettes/ProductWars/_product/successful_request.yml +28 -0
  21. data/spec/cassettes/ProductWars/_product/unsuccessful_request.yml +26 -0
  22. data/spec/cassettes/ProductWars/_product_stats/successful_request.yml +28 -0
  23. data/spec/cassettes/ProductWars/_product_stats/unsuccessful_request.yml +26 -0
  24. data/spec/cassettes/ProductWars/_products_in_war/successful_products_index_request.yml +28 -0
  25. data/spec/cassettes/ProductWars/_products_in_war/unsuccessful_request.yml +26 -0
  26. data/spec/cassettes/ProductWars/_war/successful_request.yml +28 -0
  27. data/spec/cassettes/ProductWars/_war/unsuccessful_request.yml +26 -0
  28. data/spec/cassettes/ProductWars/_wars_containing_product/successful_request.yml +28 -0
  29. data/spec/cassettes/ProductWars/_wars_containing_product/unsuccessful_request.yml +26 -0
  30. data/spec/product_wars_spec.rb +337 -0
  31. data/spec/spec_helper.rb +12 -0
  32. metadata +236 -0
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "httparty", "0.7.4"
4
+ gem "hashie", "1.0.0"
5
+
6
+ group :development do
7
+ gem "shoulda", ">= 0"
8
+ gem "bundler", "~> 1.0.0"
9
+ gem "jeweler", "~> 1.5.2"
10
+ gem "rcov", ">= 0"
11
+ gem "vcr", "1.7.0"
12
+ gem "fakeweb"
13
+ gem "rspec", "2.5.0"
14
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,40 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ crack (0.1.8)
5
+ diff-lcs (1.1.2)
6
+ fakeweb (1.3.0)
7
+ git (1.2.5)
8
+ hashie (1.0.0)
9
+ httparty (0.7.4)
10
+ crack (= 0.1.8)
11
+ jeweler (1.5.2)
12
+ bundler (~> 1.0.0)
13
+ git (>= 1.2.5)
14
+ rake
15
+ rake (0.8.7)
16
+ rcov (0.9.9)
17
+ rspec (2.5.0)
18
+ rspec-core (~> 2.5.0)
19
+ rspec-expectations (~> 2.5.0)
20
+ rspec-mocks (~> 2.5.0)
21
+ rspec-core (2.5.1)
22
+ rspec-expectations (2.5.0)
23
+ diff-lcs (~> 1.1.2)
24
+ rspec-mocks (2.5.0)
25
+ shoulda (2.11.3)
26
+ vcr (1.7.0)
27
+
28
+ PLATFORMS
29
+ ruby
30
+
31
+ DEPENDENCIES
32
+ bundler (~> 1.0.0)
33
+ fakeweb
34
+ hashie (= 1.0.0)
35
+ httparty (= 0.7.4)
36
+ jeweler (~> 1.5.2)
37
+ rcov
38
+ rspec (= 2.5.0)
39
+ shoulda
40
+ vcr (= 1.7.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Spencer Rogers
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = product-wars-ruby-api-wrapper
2
+
3
+ This gem wraps the Product Wars API.
4
+
5
+ == Contributing to product-wars-ruby-api-wrapper
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Designer Pages. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,53 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "productwars-api"
16
+ gem.homepage = "http://github.com/spencer1248/product-wars-ruby-api-wrapper"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{API wrapper for productwars.com}
19
+ gem.description = %Q{This gem provides object-like functionality for retrieving and manipulating data from the Product Wars API}
20
+ gem.email = "spencer@designerpages.com"
21
+ gem.authors = ["Spencer Rogers"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rake/testtask'
30
+ Rake::TestTask.new(:test) do |test|
31
+ test.libs << 'lib' << 'test'
32
+ test.pattern = 'test/**/test_*.rb'
33
+ test.verbose = true
34
+ end
35
+
36
+ require 'rcov/rcovtask'
37
+ Rcov::RcovTask.new do |test|
38
+ test.libs << 'test'
39
+ test.pattern = 'test/**/test_*.rb'
40
+ test.verbose = true
41
+ end
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "product-wars-ruby-api-wrapper #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,120 @@
1
+ require 'httparty'
2
+ require 'hashie'
3
+
4
+ require 'productwars/errors'
5
+ require 'productwars/product'
6
+ require 'productwars/stats'
7
+ require 'productwars/war'
8
+
9
+ module ProductWars
10
+ class Client
11
+ include HTTParty
12
+
13
+ ### HTTParty Config ###
14
+ #@base_uri = 'www.productwars.com/api/v1'
15
+ base_uri 'productwars.com/api/v1'
16
+ format :json
17
+ #######################
18
+
19
+ def self.dispatch(method, *args, &block)
20
+ response = self.send(method, *args, &block)
21
+ self.handle(response)
22
+ end
23
+
24
+ ######### API Calls ###########
25
+ def self.product(product_id)
26
+ get("/products/#{product_id}.json")
27
+ end
28
+
29
+ def self.wars_containing_product(product_id)
30
+ get("/products/#{product_id}/wars.json")
31
+ end
32
+
33
+ def self.all_wars
34
+ get("/wars.json")
35
+ end
36
+
37
+ def self.product_stats(product_id)
38
+ get("/stats/products/#{product_id}.json")
39
+ end
40
+
41
+ def self.war(war_id)
42
+ get("/wars/#{war_id}.json")
43
+ end
44
+
45
+ def self.products_in_war(war_id)
46
+ get("/wars/#{war_id}/products.json")
47
+ end
48
+
49
+ def self.global_leaders
50
+ get("/leaders.json")
51
+ end
52
+
53
+ def self.leaders_in_war(war_id)
54
+ get("/wars/#{war_id}/leaders.json")
55
+ end
56
+ ###############################
57
+
58
+ def self.handle(response)
59
+ if response.response.code.to_i == 404
60
+ raise ProductWars::Errors::NotFound
61
+ else
62
+ self.wrap(response)
63
+ end
64
+ end
65
+
66
+ def self.wrap(response)
67
+ info = response.parsed_response
68
+
69
+ if info.class == Array
70
+ a = []
71
+
72
+ for hash in info
73
+ a.push(new_product_wars_object(hash))
74
+ end
75
+
76
+ return a
77
+
78
+ elsif info.class == Hash
79
+ new_product_wars_object(info)
80
+ end
81
+ end
82
+
83
+ def self.product_wars_type?(obj)
84
+ if obj.class == Array
85
+ obj = obj.first
86
+ end
87
+
88
+ if obj.nil?
89
+ return nil
90
+ end
91
+
92
+ if obj.class == Hash
93
+ if obj.has_key?('dp_id')
94
+ if obj.has_key?('win_rate')
95
+ ProductWars::Stats
96
+ else
97
+ ProductWars::Product
98
+ end
99
+ else
100
+ ProductWars::War
101
+ end
102
+ end
103
+ end
104
+
105
+ def self.new_product_wars_object(info)
106
+ type = product_wars_type?(info)
107
+
108
+ if type == ProductWars::Product
109
+ ProductWars::Product.new(info)
110
+ elsif type == ProductWars::War
111
+ ProductWars::War.new(info)
112
+ elsif type == ProductWars::Stats
113
+ ProductWars::Stats.new(info)
114
+ else
115
+ nil
116
+ end
117
+ end
118
+
119
+ end
120
+ end
@@ -0,0 +1,6 @@
1
+ module ProductWars
2
+ module Errors
3
+ class Error < StandardError; end
4
+ class NotFound < Error; end
5
+ end
6
+ end
@@ -0,0 +1,4 @@
1
+ module ProductWars
2
+ class Product < Hashie::Mash
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ProductWars
2
+ class Response < Hashie::Mash
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ProductWars
2
+ class Stats < Hashie::Mash
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ProductWars
2
+ class War < Hashie::Mash
3
+ end
4
+ end
@@ -0,0 +1,12 @@
1
+ require 'productwars/client'
2
+
3
+ module ProductWars
4
+ def self.method_missing(method, *args, &block)
5
+ return super unless Client.respond_to?(method)
6
+ Client.dispatch(method, *args, &block)
7
+ end
8
+
9
+ def self.respond_to?(method)
10
+ return Client.respond_to?(method) || super
11
+ end
12
+ end
@@ -0,0 +1,98 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{productwars-api}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Spencer Rogers"]
12
+ s.date = %q{2011-03-16}
13
+ s.description = %q{This gem provides object-like functionality for retrieving and manipulating data from the Product Wars API}
14
+ s.email = %q{spencer@designerpages.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "lib/productwars.rb",
28
+ "lib/productwars/client.rb",
29
+ "lib/productwars/errors.rb",
30
+ "lib/productwars/product.rb",
31
+ "lib/productwars/response.rb",
32
+ "lib/productwars/stats.rb",
33
+ "lib/productwars/war.rb",
34
+ "productwars-api.gemspec",
35
+ "spec/cassettes/ProductWars/_all_wars/successful_wars_index_request.yml",
36
+ "spec/cassettes/ProductWars/_global_leaders/successful_products_index_request.yml",
37
+ "spec/cassettes/ProductWars/_leaders_in_war/successful_request.yml",
38
+ "spec/cassettes/ProductWars/_leaders_in_war/unsuccessful_request.yml",
39
+ "spec/cassettes/ProductWars/_product/successful_request.yml",
40
+ "spec/cassettes/ProductWars/_product/unsuccessful_request.yml",
41
+ "spec/cassettes/ProductWars/_product_stats/successful_request.yml",
42
+ "spec/cassettes/ProductWars/_product_stats/unsuccessful_request.yml",
43
+ "spec/cassettes/ProductWars/_products_in_war/successful_products_index_request.yml",
44
+ "spec/cassettes/ProductWars/_products_in_war/unsuccessful_request.yml",
45
+ "spec/cassettes/ProductWars/_war/successful_request.yml",
46
+ "spec/cassettes/ProductWars/_war/unsuccessful_request.yml",
47
+ "spec/cassettes/ProductWars/_wars_containing_product/successful_request.yml",
48
+ "spec/cassettes/ProductWars/_wars_containing_product/unsuccessful_request.yml",
49
+ "spec/product_wars_spec.rb",
50
+ "spec/spec_helper.rb"
51
+ ]
52
+ s.homepage = %q{http://github.com/spencer1248/product-wars-ruby-api-wrapper}
53
+ s.licenses = ["MIT"]
54
+ s.require_paths = ["lib"]
55
+ s.rubygems_version = %q{1.5.2}
56
+ s.summary = %q{API wrapper for productwars.com}
57
+ s.test_files = [
58
+ "spec/product_wars_spec.rb",
59
+ "spec/spec_helper.rb"
60
+ ]
61
+
62
+ if s.respond_to? :specification_version then
63
+ s.specification_version = 3
64
+
65
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
66
+ s.add_runtime_dependency(%q<httparty>, ["= 0.7.4"])
67
+ s.add_runtime_dependency(%q<hashie>, ["= 1.0.0"])
68
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
69
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
70
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
71
+ s.add_development_dependency(%q<rcov>, [">= 0"])
72
+ s.add_development_dependency(%q<vcr>, ["= 1.7.0"])
73
+ s.add_development_dependency(%q<fakeweb>, [">= 0"])
74
+ s.add_development_dependency(%q<rspec>, ["= 2.5.0"])
75
+ else
76
+ s.add_dependency(%q<httparty>, ["= 0.7.4"])
77
+ s.add_dependency(%q<hashie>, ["= 1.0.0"])
78
+ s.add_dependency(%q<shoulda>, [">= 0"])
79
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
80
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
81
+ s.add_dependency(%q<rcov>, [">= 0"])
82
+ s.add_dependency(%q<vcr>, ["= 1.7.0"])
83
+ s.add_dependency(%q<fakeweb>, [">= 0"])
84
+ s.add_dependency(%q<rspec>, ["= 2.5.0"])
85
+ end
86
+ else
87
+ s.add_dependency(%q<httparty>, ["= 0.7.4"])
88
+ s.add_dependency(%q<hashie>, ["= 1.0.0"])
89
+ s.add_dependency(%q<shoulda>, [">= 0"])
90
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
91
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
92
+ s.add_dependency(%q<rcov>, [">= 0"])
93
+ s.add_dependency(%q<vcr>, ["= 1.7.0"])
94
+ s.add_dependency(%q<fakeweb>, [">= 0"])
95
+ s.add_dependency(%q<rspec>, ["= 2.5.0"])
96
+ end
97
+ end
98
+
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://productwars.com/api/v1/wars.json
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ etag:
14
+ - "\"f9b2225d5ca676675503f3916efe8605\""
15
+ content-type:
16
+ - application/json; charset=utf-8
17
+ x-runtime:
18
+ - "38"
19
+ server:
20
+ - WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
21
+ date:
22
+ - Tue, 15 Mar 2011 21:07:03 GMT
23
+ content-length:
24
+ - "5311"
25
+ cache-control:
26
+ - private, max-age=0, must-revalidate
27
+ body: "[{\"name\":\"B&B Italia Armchairs\",\"created_at\":\"2010-02-11T20:19:29Z\",\"updated_at\":\"2010-02-24T06:04:04Z\",\"id\":1,\"fights\":2181,\"description\":\"\",\"active\":false},{\"name\":\"Beds\",\"created_at\":\"2010-02-18T20:55:02Z\",\"updated_at\":\"2010-10-26T14:49:43Z\",\"id\":11,\"fights\":7238,\"description\":\"we like to sleep in them.\",\"active\":false},{\"name\":\"Modular Sofas\",\"created_at\":\"2010-02-18T21:29:15Z\",\"updated_at\":\"2010-02-24T15:59:28Z\",\"id\":21,\"fights\":10071,\"description\":\"\",\"active\":true},{\"name\":\"High-Glam Chandeliers\",\"created_at\":\"2010-02-18T22:11:01Z\",\"updated_at\":\"2010-02-18T22:11:01Z\",\"id\":31,\"fights\":11511,\"description\":\"\",\"active\":true},{\"name\":\"Just For Kids\",\"created_at\":\"2010-02-18T22:23:02Z\",\"updated_at\":\"2010-10-26T14:51:09Z\",\"id\":41,\"fights\":6199,\"description\":\"\",\"active\":false},{\"name\":\"Bathroom Vanities\",\"created_at\":\"2010-02-19T04:49:35Z\",\"updated_at\":\"2010-02-19T05:19:13Z\",\"id\":51,\"fights\":9992,\"description\":\"\",\"active\":true},{\"name\":\"Kitchen Faucets\",\"created_at\":\"2010-02-19T05:31:30Z\",\"updated_at\":\"2010-02-19T12:35:57Z\",\"id\":61,\"fights\":9315,\"description\":\"http://www.designerpages.com/products/70592-Axor-Citterio-160-Kitchen-Faucet, \\r\\nhttp://www.designerpages.com/products/70584-Allegro-E-Gourmet-160-Prep-Kitchen-Faucet-Pull-Down, http://www.designerpages.com/products/46636-K-6330-ProMaster-174-kitchen-faucet, http://www.designerpages.com/products/70600-Axor-Uno-178-160-Kitchen-Faucet, http://www.designerpages.com/products/70598-Axor-Starck-160-Semi-Pro-Kitchen-Faucet, http://www.designerpages.com/products/70596-Axor-Starck-160-Kitchen-Faucet, http://www.designerpages.com/products/70593-Axor-Citterio-160-Semi-Pro-Kitchen-Faucet, http://www.designerpages.com/products/26067-Kitchen-Deck-Mounted, http://www.designerpages.com/products/26068-Kitchen-Wall-Mount, http://www.designerpages.com/products/46699-K-10441-Fort-233-entertainment-remote-valve-sink-faucet, http://www.designerpages.com/products/70585-Allegro-E-160-Bar-Faucet, http://www.designerpages.com/products/56359-OMAX-Wooden-Faucets-Nottingham-Sink-mixer-OAK-ITALIA, http://www.designerpages.com/products/117800-Soraya-Single-Hole-Vessel-Filler-Lavatory-Faucet-with-Pop-Up-Drain, http://www.designerpages.com/products/67208-Tara-Ultra?a=2107&c=27&p=67208&s=7595711&t=&v=9, http://www.designerpages.com/products/89738-Ferrara-Faucet-LK7622, http://www.designerpages.com/products/89735-Ferrara-Faucet-LK7122, http://www.designerpages.com/products/89395-Arezzo-Faucet-LK7422, http://www.designerpages.com/products/89394-Arezzo-Faucet-LK7420, http://www.designerpages.com/products/89390-Arezzo-Faucet-LK7220, http://www.designerpages.com/products/89384-Allure-Faucet-LK6175, http://www.designerpages.com/products/90251-Moda-Faucet-LK7522, http://www.designerpages.com/products/90249-Moda-Faucet-LK7320\\r\\n\",\"active\":true},{\"name\":\"Armchairs\",\"created_at\":\"2010-02-24T05:31:46Z\",\"updated_at\":\"2010-10-26T14:50:58Z\",\"id\":71,\"fights\":6928,\"description\":\"\",\"active\":false},{\"name\":\"Toilets\",\"created_at\":\"2010-02-24T17:16:50Z\",\"updated_at\":\"2010-10-26T14:52:38Z\",\"id\":81,\"fights\":5850,\"description\":\"\",\"active\":false},{\"name\":\"Bathtubs\",\"created_at\":\"2010-02-25T00:00:30Z\",\"updated_at\":\"2010-02-25T00:00:30Z\",\"id\":91,\"fights\":8862,\"description\":\"\",\"active\":true},{\"name\":\"Task Chairs\",\"created_at\":\"2010-02-25T14:54:02Z\",\"updated_at\":\"2010-02-25T14:54:02Z\",\"id\":101,\"fights\":11793,\"description\":\"\",\"active\":true},{\"name\":\"Storage Solutions\",\"created_at\":\"2010-02-25T23:18:54Z\",\"updated_at\":\"2010-02-25T23:18:54Z\",\"id\":111,\"fights\":9072,\"description\":\"\",\"active\":true},{\"name\":\"Carpet: Modular\",\"created_at\":\"2010-05-25T15:01:21Z\",\"updated_at\":\"2010-10-26T14:50:12Z\",\"id\":121,\"fights\":47917,\"description\":\"\",\"active\":false},{\"name\":\"Conference Room Furniture\",\"created_at\":\"2010-05-25T15:01:47Z\",\"updated_at\":\"2010-10-26T14:51:37Z\",\"id\":131,\"fights\":13682,\"description\":\"\",\"active\":false},{\"name\":\"Commercial Furniture Systems\",\"created_at\":\"2010-05-25T15:02:05Z\",\"updated_at\":\"2010-10-26T14:52:56Z\",\"id\":141,\"fights\":23414,\"description\":\"\",\"active\":false},{\"name\":\"Conference Seating\",\"created_at\":\"2010-05-25T15:02:25Z\",\"updated_at\":\"2010-10-26T14:51:55Z\",\"id\":151,\"fights\":12597,\"description\":\"\",\"active\":false},{\"name\":\"Commercial Sofas and Lounge\",\"created_at\":\"2010-05-25T15:02:34Z\",\"updated_at\":\"2010-10-26T14:52:16Z\",\"id\":161,\"fights\":24125,\"description\":\"\",\"active\":true},{\"name\":\"Sustainable Seating\",\"created_at\":\"2010-07-18T03:25:40Z\",\"updated_at\":\"2010-07-18T03:25:40Z\",\"id\":171,\"fights\":6682,\"description\":\"\",\"active\":true},{\"name\":\"Task Lighting\",\"created_at\":\"2010-07-19T20:24:29Z\",\"updated_at\":\"2010-07-19T20:24:29Z\",\"id\":181,\"fights\":4809,\"description\":\"\",\"active\":true},{\"name\":\"Wallcoverings\",\"created_at\":\"2010-07-28T16:58:03Z\",\"updated_at\":\"2010-07-28T16:58:03Z\",\"id\":191,\"fights\":7172,\"description\":\"\",\"active\":true},{\"name\":\"Sustainable Materials\",\"created_at\":\"2010-08-16T14:48:04Z\",\"updated_at\":\"2010-08-16T14:48:18Z\",\"id\":201,\"fights\":5094,\"description\":\"\",\"active\":true},{\"name\":\"IIDEX Innovation Awards\",\"created_at\":\"2010-09-14T18:19:44Z\",\"updated_at\":\"2010-10-04T16:45:44Z\",\"id\":211,\"fights\":33730,\"description\":\"\",\"active\":false},{\"name\":\"NeoCon East People's Choice\",\"created_at\":\"2010-10-11T22:31:19Z\",\"updated_at\":\"2010-11-02T20:02:36Z\",\"id\":221,\"fights\":6859,\"description\":\"\",\"active\":false}]"
28
+ http_version: "1.1"
@@ -0,0 +1,29 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://productwars.com/api/v1/leaders.json
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ etag:
14
+ - "\"e625761a86125106e7f94e15e7ff0644\""
15
+ content-type:
16
+ - application/json; charset=utf-8
17
+ x-runtime:
18
+ - "139"
19
+ server:
20
+ - WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
21
+ date:
22
+ - Tue, 15 Mar 2011 21:07:04 GMT
23
+ content-length:
24
+ - "16426"
25
+ cache-control:
26
+ - private, max-age=0, must-revalidate
27
+ body: "[{\"permalink\":\"596551\",\"name\":\"Ciello\",\"created_at\":\"2010-07-12T22:34:30Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/12354141/Ciello_ds_cie99_BewegungsAL__244_.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/12354141/Ciello_ds_cie99_BewegungsAL__244_.jpg\",\"updated_at\":\"2011-03-07T22:53:41Z\",\"dp_id\":596551,\"wins\":405,\"id\":6031,\"fights\":503,\"manufacturer\":\"Kloeber\",\"description\":\"Let us guide you through a world of perfection. Like in a tailor-made suit, the design and aesthetic features of the Ciello take into account the diversity of man&#8217;s natural body shapes. The award-winning design is communicated by exemplary craftsman\",\"global_rank\":1,\"active\":true},{\"permalink\":\"26042\",\"name\":\"Verso Toilet & Bidet\",\"created_at\":\"2010-02-24T17:54:21Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/528349/sample.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/528349/sample.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":26042,\"wins\":114,\"id\":2991,\"fights\":142,\"manufacturer\":\"Hastings\",\"description\":\"Produced with artisan skill applied to industrial production, Verso Wall Mount&nbsp;Toilets reflect the finest in European design.&nbsp;Designed specifically to complement the Verso basin line, Verso toilets use an in-wall tank and carrier system to provi\",\"global_rank\":2,\"active\":true},{\"permalink\":\"596641\",\"name\":\"Veo\",\"created_at\":\"2010-07-12T22:34:30Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/12360401/Veo_DS_veo87_ZAL_300dpi_591_.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/12360401/Veo_DS_veo87_ZAL_300dpi_591_.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":596641,\"wins\":370,\"id\":6041,\"fights\":474,\"manufacturer\":\"Kloeber\",\"description\":\"Veo. Simply more development possibilities.<br />\\nVeo emerged out of the requirements of its users. Thanks to the large range of versions available, it is the ideal work chair. Veo proves that good design and great seating comfort is also available at an \",\"global_rank\":3,\"active\":true},{\"permalink\":\"63943\",\"name\":\"One LineTavolo\",\"created_at\":\"2010-07-19T20:24:28Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1552736/OneLineTavolo.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1552736/OneLineTavolo.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":63943,\"wins\":335,\"id\":6311,\"fights\":435,\"manufacturer\":\"Artemide\",\"description\":\"Design: Ora Ito\\n\\nTable lamp with base or clamp.\\nConsistent minimalistic design.\\n\\nPlease note, that these products are not available in each country. Details upon request.\",\"global_rank\":4,\"active\":true},{\"permalink\":\"564832\",\"name\":\"ART BORDERS by ZAHA HADID (Modern)\",\"created_at\":\"2010-07-28T16:58:03Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/11758082/zaha_hadid_big.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/11758082/zaha_hadid_big.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":564832,\"wins\":339,\"id\":6621,\"fights\":442,\"manufacturer\":\"Marburg Wallcoverings\",\"description\":\"Zaha Hadid is one of the most famous, highly respected personalities in the international architectural and design scene. Her approach is visionary, and her spectacular architecture is innovative. She has been awarded many highly respected international p\",\"global_rank\":5,\"active\":true},{\"permalink\":\"59828\",\"name\":\"Barcelona&#174; Chair\",\"created_at\":\"2010-07-07T20:52:11Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1393922/1276_pp.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1393922/1276_pp.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":59828,\"wins\":151,\"id\":5991,\"fights\":198,\"manufacturer\":\"Knoll\",\"description\":\"Designed in 1930 by Ludwig Mies van der Rohe\\n\\nA companion-sized Barcelona chair and ottoman have been developed to accompany the tried-and-true classic. The child&#8217;s Barcelona chair and ottoman are 85&#38;#37 scale of the original and only available \",\"global_rank\":6,\"active\":true},{\"permalink\":\"35380\",\"name\":\"Toilets Starck 1\",\"created_at\":\"2010-02-24T17:54:21Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/796076/109d9d8775818229_web_mil_normal_alt.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/796076/109d9d8775818229_web_mil_normal_alt.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":35380,\"wins\":120,\"id\":2921,\"fights\":156,\"manufacturer\":\"Duravit\",\"description\":\"The metamorphosis of a bucket: both come in wall-mounted and floor-standing versions &#8211; openly admit their origins. Naturally, all toilets feature both Stop-and-Go function and 1.6 gallons flush &#8211; stingy when it comes to water consumption, but \",\"global_rank\":7,\"active\":true},{\"permalink\":\"46038\",\"name\":\"mod rocker\",\"created_at\":\"2010-02-18T22:25:21Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/976497/large.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/976497/large.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":46038,\"wins\":528,\"id\":1211,\"fights\":695,\"manufacturer\":\"igloo play\",\"description\":\"This rocking chair will appeal to a child&#8217;s interest in movement as well as scale, organic form, material variation and color. The form and material invite kids to play, read or simply relax. As research indicates that children often fidget in stati\",\"global_rank\":8,\"active\":true},{\"permalink\":\"26054\",\"name\":\"C Toilets & Bidets\",\"created_at\":\"2010-02-24T17:54:21Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/528791/sample.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/528791/sample.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":26054,\"wins\":100,\"id\":3001,\"fights\":134,\"manufacturer\":\"Hastings\",\"description\":\"Produced with artisan skill applied to industrial production,&nbsp;C&nbsp;Toilets reflect the finest in European design.&nbsp;Designed specifically to complement the&nbsp;C basin line,&nbsp;C toilets use an in-wall tank and carrier system to provide a&nbs\",\"global_rank\":9,\"active\":true},{\"permalink\":\"564892\",\"name\":\"COLANI (Modern)\",\"created_at\":\"2010-07-28T16:58:03Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/11764872/luigiColani_big_01.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/11764872/luigiColani_big_01.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":564892,\"wins\":334,\"id\":6481,\"fights\":448,\"manufacturer\":\"Marburg Wallcoverings\",\"description\":\"entwined, mirrored ornaments in the distinctive biodynamic design language by Luigi Colani<br />\\nexceptional designs in the spirit of water &#8211; from drops to flowing wave formations<br />\\nglimmer with a marked flip-flop effect: iridescent colors chang\",\"global_rank\":10,\"active\":true},{\"permalink\":\"94177\",\"name\":\"Romantica\",\"created_at\":\"2010-02-24T18:19:00Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/2341965/5-6_??.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/2341965/5-6_??.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":94177,\"wins\":112,\"id\":3221,\"fights\":151,\"manufacturer\":\"Colosanitary B.M. Limited\",\"description\":\"As its name <span class=\\\"caps\\\">ROMANTICA</span> implies, this is a beautifully stylish toilet suite. Gentle flowing curves, brilliant aura, &#8230; &#8230;, making all the difference to a bathroom.\",\"global_rank\":11,\"active\":true},{\"permalink\":\"21461\",\"name\":\" NIAGARA CHANDELIER 2 METRES\",\"created_at\":\"2010-02-18T22:20:31Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/380468/1_jpg1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/380468/1_jpg1.jpg\",\"updated_at\":\"2011-03-02T20:28:14Z\",\"dp_id\":21461,\"wins\":849,\"id\":1061,\"fights\":1139,\"manufacturer\":\"Lladr\xF3\",\"description\":\"Issue Year: 2006\\nSculptor: Dept. Decoraci\xF3n y Dise\xF1o\n\
28
+ Size: 112 \xBC&#8221; x 78\xBE&#8221; \\n\\nA spectacular light installation measuring 2 meters in diameter. This masterpiece combines 300 amazing wings of porcelain sculptures with the latest in fibber optic te\",\"global_rank\":12,\"active\":true},{\"permalink\":\"35375\",\"name\":\"Toilets Caro\",\"created_at\":\"2010-02-24T17:54:21Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/796001/114b5ad9c6ea8429_web_mil_normal_alt.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/796001/114b5ad9c6ea8429_web_mil_normal_alt.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":35375,\"wins\":92,\"id\":3041,\"fights\":125,\"manufacturer\":\"Duravit\",\"description\":\"Standing proud: With its sleek, slimline cistern, the Caro floor-standing WC is reminiscent of a monolith. The wall-mounted WC and the urinal blend perfectly with the rest of the range.\",\"global_rank\":13,\"active\":true},{\"permalink\":\"12820\",\"name\":\"Liberty, Office Seating\",\"created_at\":\"2010-02-25T15:43:32Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/111641/1_jpg2.png\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/111641/1_jpg2.png\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":12820,\"wins\":200,\"id\":4351,\"fights\":274,\"manufacturer\":\"Humanscale\",\"description\":\"A Revolution in Mesh Seating\\n\\nLiberty, with Form-Sensing Mesh Technology, is unlike any mesh chair you\x92ve seen or experienced. With its tri-panel construction, Liberty has the body-fitting contours that single-panel stretch mesh chairs simply can\x92t achiev\",\"global_rank\":14,\"active\":true},{\"permalink\":\"596591\",\"name\":\"Orbit\",\"created_at\":\"2010-07-12T22:32:54Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/12357851/Orbit_Network_ds_orb89_Armbuegel_15_.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/12357851/Orbit_Network_ds_orb89_Armbuegel_15_.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":596591,\"wins\":188,\"id\":6021,\"fights\":259,\"manufacturer\":\"Kloeber\",\"description\":\"Orbit: The architecture of visible construction. Light and transparent features are evident in the Orbit&#8217;s Softnet backrest, which adapts to the individual user and supports the spine. The result is the characteristic Orbit &#8220;waterbed&#8221; ef\",\"global_rank\":15,\"active\":true},{\"permalink\":\"31677\",\"name\":\"\\n\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\tAeron Chairs \\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\",\"created_at\":\"2010-02-25T15:57:51Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/714584/P_AER_L122.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/714584/P_AER_L122.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":31677,\"wins\":305,\"id\":4621,\"fights\":420,\"manufacturer\":\"Herman Miller\",\"description\":\"Designed by Don Chadwick and Bill Stumpf \\n\\n A Work Chair Solution\\nHigh-performance, long-term seating in three sizes with a full complement of adjustments and innovative suspension; for computer work, general office work, and casual or formal \",\"global_rank\":16,\"active\":true},{\"permalink\":\"79667\",\"name\":\"Tizi 8048/A\",\"created_at\":\"2010-02-24T17:54:22Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1997910/tizi8048A.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1997910/tizi8048A.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":79667,\"wins\":95,\"id\":3131,\"fights\":131,\"manufacturer\":\"Nameek's\",\"description\":\"Toilet with plastic technical curve. Toilet measures 21.2&#8243; &#215; 15.7&#8243;.\",\"global_rank\":17,\"active\":true},{\"permalink\":\"90465\",\"name\":\"BILGE LOUNGE\",\"created_at\":\"2010-07-18T03:25:40Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/2258649/210.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/2258649/210.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":90465,\"wins\":822,\"id\":6091,\"fights\":1135,\"manufacturer\":\"UHURU\",\"description\":\"The <span class=\\\"caps\\\">BILGE</span> <span class=\\\"caps\\\">LOUNGE</span> is made from reclaimed bourbon barrel staves and used truck springs. The K&#252;pe line is crafted from used bourbon barrels from Bardstown, Kentucky, the Bourbon Capital of the world. T\",\"global_rank\":18,\"active\":true},{\"permalink\":\"47737\",\"name\":\"Haworth Zody chair\",\"created_at\":\"2010-02-25T15:43:32Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1008512/zody.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1008512/zody.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":47737,\"wins\":187,\"id\":4361,\"fights\":261,\"manufacturer\":\"Haworth\",\"description\":\"Great mesh-back task chair, ergonomic, Best of Neocon June 2005, Cradle to Cradle Gold certified product by MBDC (McDonough Braungart Design Chemistry, LLC ) October, 2005, USA .\",\"global_rank\":19,\"active\":true},{\"permalink\":\"48408\",\"name\":\"Mix LED Table Lamp\",\"created_at\":\"2010-07-19T20:28:39Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1034092/mix-silver.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1034092/mix-silver.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":48408,\"wins\":277,\"id\":6401,\"fights\":386,\"manufacturer\":\"Italian Design\",\"description\":\"Mix LED table lamp in white has a lightweight frame that uses the new LED Chip on Board technology. Available in aluminum. Stem in aluminum finish. One colored filter in the head allows for the regulation of the color temperature. When it is switched \",\"global_rank\":20,\"active\":true},{\"permalink\":\"67208\",\"name\":\"Tara Ultra\",\"created_at\":\"2010-02-19T05:42:47Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1667292/Joe-the-Plumber-Meet-the-New-TARA-larger.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1667292/Joe-the-Plumber-Meet-the-New-TARA-larger.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":67208,\"wins\":600,\"id\":1561,\"fights\":842,\"manufacturer\":\"Dornbracht Americas, Inc.\",\"description\":\"TARA ULTRA &#8211; The new interpretation of TARA CLASSIC for the kitchen, The design concept that Tara Ultra shares with Tara and Tara Classic is evident right at first glance: The characteristic Tara spout geometry has been integrated into its own ki\",\"global_rank\":21,\"active\":true},{\"permalink\":\"70919\",\"name\":\"Flaper Base System Washstand\",\"created_at\":\"2010-02-19T05:13:21Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/1773721/Base_NC30-2.JPG.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/1773721/Base_NC30-2.JPG.jpg\",\"updated_at\":\"2011-03-07T20:59:15Z\",\"dp_id\":70919,\"wins\":598,\"id\":1281,\"fights\":838,\"manufacturer\":\"Falper WS Bath Collections\",\"description\":\"Falper Base System washstand/ console. Washbasins in cristalplant with marine plywood surround; oak, wenge, ebony, or rosewood\",\"global_rank\":22,\"active\":true},{\"permalink\":\"36695\",\"name\":\" SS114 - SoftClose seat \",\"created_at\":\"2010-02-24T17:54:22Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/816650/SS114_zoom.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/816650/SS114_zoom.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":36695,\"wins\":100,\"id\":3101,\"fights\":139,\"manufacturer\":\"TOTO\",\"description\":\"Features:\\n\\n SoftClose. The smart seat from TOTO \\n SoftClose Action Reduces Injury and Eliminates &#147;Toilet Seat Slam&#148; \\n Comfortable Ergonomic Design \\n Molded Bumpers \\n Solid High-Impact, High Gloss Polypropylene \\n Resistant to Chemicals an\",\"global_rank\":23,\"active\":true},{\"permalink\":\"31615\",\"name\":\"\\n\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\tMirra Chairs \\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\",\"created_at\":\"2010-02-25T15:57:51Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/709698/P_MIR_L008.gif\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/709698/P_MIR_L008.gif\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":31615,\"wins\":289,\"id\":4591,\"fights\":402,\"manufacturer\":\"Herman Miller\",\"description\":\"Designed by Studio 7.5 \\n\\n Total Back Support\\nNo adjustment needed. The pliable, elastic TriFlex back supports the entire spine and conforms to size, posture, and movements.\\n\\nPassive PostureFit performance. A camber shape at the base of the bac\",\"global_rank\":24,\"active\":true},{\"permalink\":\"35381\",\"name\":\"Toilets Starck 2\",\"created_at\":\"2010-02-24T17:41:14Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/796091/1107c93f5148f129_web_mil_normal_alt.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/796091/1107c93f5148f129_web_mil_normal_alt.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":35381,\"wins\":91,\"id\":2911,\"fights\":128,\"manufacturer\":\"Duravit\",\"description\":\"The WCs follow the same clear-cut design lines: two wall-mounted toilets with washdown or washout flush, various floor-standing combinations. Not to forget the bidets, floor-standing or wall-hung.\",\"global_rank\":25,\"active\":true}]"
29
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://productwars.com/api/v1/wars/1/leaders.json
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ etag:
14
+ - "\"1feb8bfc83620ac4e785c972014cc3a5\""
15
+ content-type:
16
+ - application/json; charset=utf-8
17
+ x-runtime:
18
+ - "76"
19
+ server:
20
+ - WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
21
+ date:
22
+ - Tue, 15 Mar 2011 21:21:50 GMT
23
+ content-length:
24
+ - "16831"
25
+ cache-control:
26
+ - private, max-age=0, must-revalidate
27
+ body: "[{\"permalink\":\"132254\",\"name\":\"GRANDE PAPILIO Armchair and Ottoman\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/3738803/nao03.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/3738803/nao03.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":132254,\"wins\":268,\"id\":521,\"fights\":378,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair and Ottoman<br />\\nNaoto Fukasawa (2009)<br />\\n<br />\\nAs with the original Papilio chair, and not only due to the zipper along the back, the Grande Papilio Armchair appears as a single form made from a single material. Its shape is a fluid design\",\"global_rank\":29,\"active\":true},{\"permalink\":\"42082\",\"name\":\"METROPOLITAN Armchairs\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902471/MD-001_ME100-ME62_1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902471/MD-001_ME100-ME62_1.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":42082,\"wins\":245,\"id\":141,\"fights\":352,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchairs<br />\\nDesign Jeffrey Bernett (2003) <br />\\n<br />\\nSeats that flow uninterrupted into the armrests are the hallmark of both the small Metropolitan armchair and the relax armchair. The small armchair on a revolving aluminium base with four spoke\",\"global_rank\":39,\"active\":true},{\"permalink\":\"42088\",\"name\":\"RADAR\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902939/MD-001_RA_RAP.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902939/MD-001_RA_RAP.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":42088,\"wins\":254,\"id\":191,\"fights\":380,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign James Irvine (2001) <br />\\n<br />\\nThe structure rotates on a 4-spoke nickeled or graphite varnished metal base and is equipped with an adjustable headrest and an ottoman. The spirit of the piece was best expressed by the designer h\",\"global_rank\":58,\"active\":true},{\"permalink\":\"208601\",\"name\":\"LAZY Outdoor Armchair/Chaise Longue\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/5588611/Lazy_small.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/5588611/Lazy_small.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":208601,\"wins\":62,\"id\":531,\"fights\":96,\"manufacturer\":\"B&B Italia\",\"description\":\"Lazy Armchair/Chaise Longue<br />\\nDesign Patricia Urquiola (2009)<br />\\n<br />\\nSix years after its initial presentation into the home collection, Lazy has now becmoe a part of the outdoor collection. The stainless steel frame of this chair allows, through\",\"global_rank\":80,\"active\":true},{\"permalink\":\"42081\",\"name\":\"MART Armchairs\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902354/MD-001_MPR.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902354/MD-001_MPR.jpg\",\"updated_at\":\"2011-03-03T14:50:02Z\",\"dp_id\":42081,\"wins\":247,\"id\":131,\"fights\":384,\"manufacturer\":\"B&B Italia\",\"description\":\"Small armchair<br />\\nDesign Antonio Citterio (2003) <br />\\n<br />\\nExperimentation and research have led to the Mart seating project, which results from a new production technology for thermoformed leather. Two types of seats are available: a smaller and\",\"global_rank\":86,\"active\":true},{\"permalink\":\"42089\",\"name\":\"TULIP Armchairs\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902991/MD-001_TU.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902991/MD-001_TU.jpg\",\"updated_at\":\"2011-03-02T20:13:06Z\",\"dp_id\":42089,\"wins\":211,\"id\":201,\"fights\":370,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\n Design Jeffrey Bernett (2000) <br />\\n<br />\\n Designed on a carefully proportioned combination of widths and alternating straight and curved lines, Tulip is a 360&#176; swivel chair, marked by great flexibility in use. The support disc, m\",\"global_rank\":190,\"active\":true},{\"permalink\":\"42075\",\"name\":\"LANDSCAPE'05 Chaise Longue\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901873/MD-001_LANDSCAPE.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901873/MD-001_LANDSCAPE.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42075,\"wins\":42,\"id\":81,\"fights\":73,\"manufacturer\":\"B&B Italia\",\"description\":\"Chaise longue<br />\\nDesign Jeffrey Bernett (2005) <br />\\n<br />\\nA best seller from 2001, it&#8217;s now even more comfortable with the addition of an armrest that by no means affects its vibrant appearance. Just like the first model, it has a magnetic h\",\"global_rank\":202,\"active\":true},{\"permalink\":\"95518\",\"name\":\"POSA Seating\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/2366893/2976_L0_I2_Posa.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/2366893/2976_L0_I2_Posa.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":95518,\"wins\":42,\"id\":511,\"fights\":75,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofa and Armchairs<br />\\nDesign David Chipperfield (2008)<br />\\n<br />\\nThe Posa Series is named after Marquis von Posa, the idealistic hero of the opera Don Carlos by Friedrich Schiller. Schiller was born in Marbach am Neckar, in Germany, the city where D\",\"global_rank\":223,\"active\":true},{\"permalink\":\"42173\",\"name\":\"KALOS APTA armchair and ottoman\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907723/MD-001_9750.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907723/MD-001_9750.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42173,\"wins\":222,\"id\":281,\"fights\":397,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair and ottomans<br />\\nDesign Antonio Citterio (1999)<br />\\n<br />\\nA modern interpretation of the more classic easy chair, Kalos comes in both leather and fabric upholstery. The latter can be stretched or formed by a slipcover hiding the feet of the\",\"global_rank\":245,\"active\":true},{\"permalink\":\"42090\",\"name\":\"UP 2000 SERIES\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/903043/MD-001_UP5-UP6.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/903043/MD-001_UP5-UP6.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42090,\"wins\":210,\"id\":211,\"fights\":387,\"manufacturer\":\"B&B Italia\",\"description\":\"Seats system<br />\\nDesign Gaetano Pesce (2000) <br />\\n<br />\\nSince its first appearance, the Up series, designed in 1969, has been one of the most outstanding expressions of design. The exceptional visual impact of seven models of seats, in various size\",\"global_rank\":261,\"active\":true},{\"permalink\":\"42182\",\"name\":\"AMONEUS AC sofa with chaise\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907892/MD-001_ac116cld_176ts_1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907892/MD-001_ac116cld_176ts_1.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42182,\"wins\":45,\"id\":351,\"fights\":83,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas<br />\\nDesign Antonio Citterio (2006)<br />\\n<br />\\nAmoenus is a range of chairs with a strong personality offering great comfort. Linear sofa with a deep seat padded with down; the corner or chaise lounge version marked by a sizeable and enveloping b\",\"global_rank\":275,\"active\":true},{\"permalink\":\"42194\",\"name\":\"CLIO SIMPLICE armchair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908269/MD-001_smpr.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908269/MD-001_smpr.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42194,\"wins\":228,\"id\":461,\"fights\":421,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign Antonio Citterio (2004)<br />\\n<br />\\nFeaturing a frame in brushed light or black oak, grey or brown oak, the backrest of Clio can be in the same finishes as the frame in wood or upholstered in leather or fabric. Further comfort is pr\",\"global_rank\":278,\"active\":true},{\"permalink\":\"42080\",\"name\":\"LAZY\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902263/MD-001_PLA.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902263/MD-001_PLA.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42080,\"wins\":220,\"id\":121,\"fights\":407,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\n Design Patricia Urquiola (2003) <br />\\n<br />\\n Designed both for outdoor and indoor use, this seat has a metal frame and can be converted from a small armchair into a chaise lounge. In the designer&#8217;s words: &#8220;A vague creature \",\"global_rank\":281,\"active\":true},{\"permalink\":\"42067\",\"name\":\"FAT SOFA\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901171/MD-001_fat_sofa.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901171/MD-001_fat_sofa.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42067,\"wins\":198,\"id\":1,\"fights\":370,\"manufacturer\":\"B&B Italia\",\"description\":\"Seats system<br />\\nDesign Patricia Urquiola (2007) <br />\\n<br />\\nIn the beginning there was Fat-Fat, a multi-functional element that doubled as a table/container, from which the Fat-Fat coffee tables and then the Fat-Fat bed developed. Now these same ro\",\"global_rank\":303,\"active\":true},{\"permalink\":\"42068\",\"name\":\"LE BAMBOLE '07 Seating\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901340/MD-001_le_bambole.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901340/MD-001_le_bambole.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42068,\"wins\":200,\"id\":11,\"fights\":372,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas and armchair<br />\\n Design Mario Bellini (2007) <br />\\n<br />\\n B&amp;B Italia is now presenting, in a renewed version, &#8220;Le Bambole&#8221; an incredibly successful collection designed in the 1970s, winner of the &#8220;Compasso d&#8217;Oro&#8\",\"global_rank\":312,\"active\":true},{\"permalink\":\"42279\",\"name\":\"HOLLOW Seating Collection\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/910414/MD-001_HO80.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/910414/MD-001_HO80.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42279,\"wins\":185,\"id\":501,\"fights\":354,\"manufacturer\":\"B&B Italia\",\"description\":\"Design Patricia Urquiola <br />\\n<br />\\nA modular compact seating series range for reception, lounge and meeting applications. Concave plastic panels enhance the appearance of lightness and give the product it&#8217;s name. Numerous variations in finishe\",\"global_rank\":324,\"active\":true},{\"permalink\":\"42074\",\"name\":\"J.J.\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901782/MD-001_jj95.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901782/MD-001_jj95.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42074,\"wins\":209,\"id\":71,\"fights\":400,\"manufacturer\":\"B&B Italia\",\"description\":\"Small armchair\\n Design Antonio Citterio (2005) \\n\\n Designed as complements to the Arne system, the small armchairs J.J. are proposed in two different sizes: one for relax, with high backrest equipped with headrest and loinrest, and a lower one for conver\",\"global_rank\":341,\"active\":true},{\"permalink\":\"42183\",\"name\":\"AMOENUS AC\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907944/MD-001_ac170g.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907944/MD-001_ac170g.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42183,\"wins\":41,\"id\":361,\"fights\":78,\"manufacturer\":\"B&B Italia\",\"description\":\"Ottoman-sofa<br />\\nDesign Antonio Citterio <br />\\n<br />\\nAmoenus is a range of chairs with a strong personality offering great comfort. Linear sofa with a deep seat padded with down; the corner or chaise lounge version marked by a sizeable and enveloping\",\"global_rank\":345,\"active\":true},{\"permalink\":\"42071\",\"name\":\"TUFTY-TIME LEATHER\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901613/MD-004_TUFTY_TIME.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901613/MD-004_TUFTY_TIME.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42071,\"wins\":43,\"id\":41,\"fights\":83,\"manufacturer\":\"B&B Italia\",\"description\":\"Modular sofas<br />\\n Design Patricia Urquiola (2006) <br />\\n<br />\\n The extension of the Tufty-Time project is a more evident emphasis of the &#8220;Chesterfield&#8221; and &#8220;Capitonn&#233;&#8221; style, a special revival of the Sixties and the Sev\",\"global_rank\":371,\"active\":true},{\"permalink\":\"42195\",\"name\":\"SMT\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908295/MD-001_smt217.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908295/MD-001_smt217.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42195,\"wins\":43,\"id\":471,\"fights\":84,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas, armchair and ottoman\\n AC Collection by Antonio Citterio \\n\\n Internal frame: tubular steel and steel sectionsInternal frame upholstery: Bayfit&#174; (Bayer&#174;) flexible cold shaped polyurethane foam, shaped polyurethane, polyester fibre waddingInt\",\"global_rank\":379,\"active\":true},{\"permalink\":\"42178\",\"name\":\"IMPRIMATUR APTA armchair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907814/MD-001_9865.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907814/MD-001_9865.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42178,\"wins\":185,\"id\":311,\"fights\":364,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign Antonio Citterio (1999)<br />\\n<br />\\nThe Imprimatur range proposes two different interpretations. The first more casual solution displays a seat split into two portions and a backrest with cushions of different sizes. Different col\",\"global_rank\":405,\"active\":true},{\"permalink\":\"42087\",\"name\":\"LANDSCAPE Chaise Longue\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902874/MD-001_LS.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902874/MD-001_LS.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42087,\"wins\":40,\"id\":181,\"fights\":80,\"manufacturer\":\"B&B Italia\",\"description\":\"Chaise longue<br />\\nDesign Jeffrey Bernett (2001) <br />\\n<br />\\nAn invitingly comfortable, sleek, delicate seat resting on a metal base: the minimalist design makes this chaise longue look especially light. Thanks to its magnet retainer, the headrest ca\",\"global_rank\":410,\"active\":true},{\"permalink\":\"42186\",\"name\":\"MUSA SIMPLICE Armchair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908048/MD-001_sm65p.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908048/MD-001_sm65p.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42186,\"wins\":181,\"id\":391,\"fights\":393,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign Antonio Citterio (2006)<br />\\n<br />\\nAvailable in two versions, Musa Armchairs are realized in the lower and deeper version (SM65P) and a higher and shallower version (SM65T); Both are proposed with a frame of solid wood in brushed l\",\"global_rank\":523,\"active\":true},{\"permalink\":\"42196\",\"name\":\"SIMPLICITER SIMPLICE sofa armchair and ottoman\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908334/MD-001_smt217_1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908334/MD-001_smt217_1.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42196,\"wins\":33,\"id\":481,\"fights\":73,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas, armchair and ottoman<br />\\nDesign by Antonio Citterio (2003)<br />\\n<br />\\nThe same features as the Simplex, the stitched one-piece seat cushion, with the trims and feet of extruded aluminum in the finishes nickel, bronze or black, but with thinner \",\"global_rank\":535,\"active\":true},{\"permalink\":\"42197\",\"name\":\"SIMPLICITER SIMPLEX Sofa and Armchair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908373/MD-001_smtf152.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908373/MD-001_smtf152.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42197,\"wins\":38,\"id\":491,\"fights\":85,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas, armchair and ottoman<br />\\n AC Collection by Antonio Citterio <br />\\n<br />\\n Internal frame: tubular steel and steel sectionsInternal frame upholstery: Bayfit&#174; (Bayer&#174;) flexible cold shaped polyurethane foam, shaped polyurethane, polyeste\",\"global_rank\":569,\"active\":true}]"
28
+ http_version: "1.1"