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.
- data/.document +5 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +40 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/lib/productwars/client.rb +120 -0
- data/lib/productwars/errors.rb +6 -0
- data/lib/productwars/product.rb +4 -0
- data/lib/productwars/response.rb +4 -0
- data/lib/productwars/stats.rb +4 -0
- data/lib/productwars/war.rb +4 -0
- data/lib/productwars.rb +12 -0
- data/productwars-api.gemspec +98 -0
- data/spec/cassettes/ProductWars/_all_wars/successful_wars_index_request.yml +28 -0
- data/spec/cassettes/ProductWars/_global_leaders/successful_products_index_request.yml +29 -0
- data/spec/cassettes/ProductWars/_leaders_in_war/successful_request.yml +28 -0
- data/spec/cassettes/ProductWars/_leaders_in_war/unsuccessful_request.yml +26 -0
- data/spec/cassettes/ProductWars/_product/successful_request.yml +28 -0
- data/spec/cassettes/ProductWars/_product/unsuccessful_request.yml +26 -0
- data/spec/cassettes/ProductWars/_product_stats/successful_request.yml +28 -0
- data/spec/cassettes/ProductWars/_product_stats/unsuccessful_request.yml +26 -0
- data/spec/cassettes/ProductWars/_products_in_war/successful_products_index_request.yml +28 -0
- data/spec/cassettes/ProductWars/_products_in_war/unsuccessful_request.yml +26 -0
- data/spec/cassettes/ProductWars/_war/successful_request.yml +28 -0
- data/spec/cassettes/ProductWars/_war/unsuccessful_request.yml +26 -0
- data/spec/cassettes/ProductWars/_wars_containing_product/successful_request.yml +28 -0
- data/spec/cassettes/ProductWars/_wars_containing_product/unsuccessful_request.yml +26 -0
- data/spec/product_wars_spec.rb +337 -0
- data/spec/spec_helper.rb +12 -0
- metadata +236 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://productwars.com/api/v1/wars/bad_id/leaders.json
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 404
|
11
|
+
message: Not Found
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- application/json; charset=utf-8
|
15
|
+
x-runtime:
|
16
|
+
- "17"
|
17
|
+
server:
|
18
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
19
|
+
date:
|
20
|
+
- Tue, 15 Mar 2011 21:21:50 GMT
|
21
|
+
content-length:
|
22
|
+
- "87"
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
body: "{\"request\":\"http://localhost:3000/api/v1/wars/bad_id/leaders.json\",\"error\":\"Not found\"}"
|
26
|
+
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/products/42067.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
|
+
- "\"e8a944093ea7d7e8bd1269b7ee69439a\""
|
15
|
+
content-type:
|
16
|
+
- application/json; charset=utf-8
|
17
|
+
x-runtime:
|
18
|
+
- "22"
|
19
|
+
server:
|
20
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
21
|
+
date:
|
22
|
+
- Tue, 15 Mar 2011 21:07:02 GMT
|
23
|
+
content-length:
|
24
|
+
- "663"
|
25
|
+
cache-control:
|
26
|
+
- private, max-age=0, must-revalidate
|
27
|
+
body: "{\"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}"
|
28
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://productwars.com/api/v1/products/bad_id.json
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 404
|
11
|
+
message: Not Found
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- application/json; charset=utf-8
|
15
|
+
x-runtime:
|
16
|
+
- "21"
|
17
|
+
server:
|
18
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
19
|
+
date:
|
20
|
+
- Tue, 15 Mar 2011 21:07:02 GMT
|
21
|
+
content-length:
|
22
|
+
- "83"
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
body: "{\"request\":\"http://localhost:3000/api/v1/products/bad_id.json\",\"error\":\"Not found\"}"
|
26
|
+
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/stats/products/42067.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
|
+
- "\"3fb88fe27530de88ccb2efd6fd8408e6\""
|
15
|
+
content-type:
|
16
|
+
- application/json; charset=utf-8
|
17
|
+
x-runtime:
|
18
|
+
- "22"
|
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
|
+
- "117"
|
25
|
+
cache-control:
|
26
|
+
- private, max-age=0, must-revalidate
|
27
|
+
body: "{\"global_rank\":303,\"dp_id\":42067,\"manufacturer\":\"B&B Italia\",\"wins\":198,\"win_rate\":53,\"name\":\"FAT SOFA\",\"fights\":370}"
|
28
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://productwars.com/api/v1/stats/products/bad_id.json
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 404
|
11
|
+
message: Not Found
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- application/json; charset=utf-8
|
15
|
+
x-runtime:
|
16
|
+
- "20"
|
17
|
+
server:
|
18
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
19
|
+
date:
|
20
|
+
- Tue, 15 Mar 2011 21:07:03 GMT
|
21
|
+
content-length:
|
22
|
+
- "89"
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
body: "{\"request\":\"http://localhost:3000/api/v1/stats/products/bad_id.json\",\"error\":\"Not found\"}"
|
26
|
+
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/products.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
|
+
- "\"cafc2efd390318ee22ed9c46790014e1\""
|
15
|
+
content-type:
|
16
|
+
- application/json; charset=utf-8
|
17
|
+
x-runtime:
|
18
|
+
- "196"
|
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
|
+
- "36282"
|
25
|
+
cache-control:
|
26
|
+
- private, max-age=0, must-revalidate
|
27
|
+
body: "[{\"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&B Italia is now presenting, in a renewed version, “Le Bambole” an incredibly successful collection designed in the 1970s, winner of the “Compasso d’Oro\",\"global_rank\":312,\"active\":true},{\"permalink\":\"42069\",\"name\":\"LUIS Sofa\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901444/MD-001_luis.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901444/MD-001_luis.jpg\",\"updated_at\":\"2011-03-08T20:42:47Z\",\"dp_id\":42069,\"wins\":257,\"id\":21,\"fights\":447,\"manufacturer\":\"B&B Italia\",\"description\":\"Modular sofas<br />\\n Design Antonio Citterio (2007) <br />\\n<br />\\n The concept of modular sofa, developed into several typologies, is newly rendered with Luis, a solution that skillfully combines comfort and elegance. Well-balanced masses, moderate prop\",\"global_rank\":204,\"active\":true},{\"permalink\":\"42070\",\"name\":\"MOON SYSTEM Sofa and Ottoman\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/3739037/Moon_System_01small1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/3739037/Moon_System_01small1.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42070,\"wins\":41,\"id\":31,\"fights\":68,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofa<br />\\n Design Zaha Hadid (2007) <br />\\n<br />\\n A continuous shape, a blend of aesthetics and ergonomics: Moon System expresses the perfect combination of B&B Italia’s tendency towards experimentation and the ongoing research into the comp\",\"global_rank\":142,\"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 “Chesterfield” and “Capitonné” style, a special revival of the Sixties and the Sev\",\"global_rank\":371,\"active\":true},{\"permalink\":\"42072\",\"name\":\"ARNE - I\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901665/MD-002_a322tcs.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901665/MD-002_a322tcs.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42072,\"wins\":45,\"id\":51,\"fights\":76,\"manufacturer\":\"B&B Italia\",\"description\":\"Seats system\\n Design Antonio Citterio (2005) \\n\\n With amazing functional and spatial interplays, Arne embodies the new approaches of contemporary living standards. Its numerous components can be assembled in different ways in order to combine seats of di\",\"global_rank\":170,\"active\":true},{\"permalink\":\"42073\",\"name\":\"ARNE - II\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901717/MD-001_a320cd.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901717/MD-001_a320cd.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42073,\"wins\":44,\"id\":61,\"fights\":86,\"manufacturer\":\"B&B Italia\",\"description\":\"Seats system\\n Design Antonio Citterio (2005) \\n\\n This seating system has a distinctive, curved shape and a comfortable backrest. It’s available in a lot of different configurations, for different sized areas, and can take up more or less space with\",\"global_rank\":376,\"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\":\"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’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\":\"42076\",\"name\":\"TUFTY-TIME Modular Sofas\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/901912/MD-001_Tufty_Time_04.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/901912/MD-001_Tufty_Time_04.jpg\",\"updated_at\":\"2011-03-08T14:31:17Z\",\"dp_id\":42076,\"wins\":324,\"id\":91,\"fights\":490,\"manufacturer\":\"B&B Italia\",\"description\":\"Modular sofas<br />\\n Design Patricia Urquiola (2005) <br />\\n<br />\\n Tufty-Time is not only a re-interpretation of the past, but also an excellent, innovative solution for such issues as modularity, comfort and removable covers. Tufty-Time is an informal\",\"global_rank\":62,\"active\":true},{\"permalink\":\"42077\",\"name\":\"HARRY LARGE\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902016/MD-001_HL278.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902016/MD-001_HL278.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42077,\"wins\":39,\"id\":101,\"fights\":79,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas\\n Design Antonio Citterio (2004) \\n\\n A softer and less formal version has been added to one of the best-selling B&B Italia upholstered furniture range. More reclined back and deeper seating characterize Harry Large elements, which maintain the t\",\"global_rank\":445,\"active\":true},{\"permalink\":\"42078\",\"name\":\"CHARLES LARGE Sofa\",\"created_at\":\"2010-02-11T20:19:55Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902120/MD-001_CHL135LS_CHL158D.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902120/MD-001_CHL135LS_CHL158D.jpg\",\"updated_at\":\"2011-03-07T23:19:21Z\",\"dp_id\":42078,\"wins\":311,\"id\":111,\"fights\":496,\"manufacturer\":\"B&B Italia\",\"description\":\"Sectional Sofas and Straight Sofa<br />\\nDesign Antonio Citterio (2003) <br />\\n<br />\\n A very comfortable seat, the sofa is a welcoming shelter to lie down in: these attributes are offered by the revisited Charles system by Antonio Citterio, which has lo\",\"global_rank\":112,\"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’s words: “A vague creature \",\"global_rank\":281,\"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\":\"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\":\"42083\",\"name\":\"ANDY Sofa\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902549/MD-001_AN370AS.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902549/MD-001_AN370AS.jpg\",\"updated_at\":\"2011-03-08T20:31:10Z\",\"dp_id\":42083,\"wins\":332,\"id\":151,\"fights\":505,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas<br />\\n Design Paolo Piva (2002) <br />\\n<br />\\n Andy interprets the theme of the sofa without supports and is designed to meet a host of comfort and posture requirements thanks to its easy-to-use mechanical systems. Its distinguishing feature is a \",\"global_rank\":66,\"active\":true},{\"permalink\":\"42085\",\"name\":\"GEORGE\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902783/MD-001_g239s_g152ld.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902783/MD-001_g239s_g152ld.jpg\",\"updated_at\":\"2011-03-07T19:17:25Z\",\"dp_id\":42085,\"wins\":245,\"id\":161,\"fights\":499,\"manufacturer\":\"B&B Italia\",\"description\":\"Seats system<br />\\n Design Antonio Citterio (2001) <br />\\n<br />\\n The George system consists of two different types of sofas which both have a tubular metal base, yet are available with or without seat cushions. The second system, without seat cushions \",\"global_rank\":467,\"active\":true},{\"permalink\":\"42086\",\"name\":\"GEORGE\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/902809/MD-001_g197bl.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/902809/MD-001_g197bl.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42086,\"wins\":32,\"id\":171,\"fights\":83,\"manufacturer\":\"B&B Italia\",\"description\":\"Seats system<br />\\nDesign Antonio Citterio (2001) <br />\\n<br />\\nThe George system consists of two different types of sofas which both have a tubular metal base, yet are available with or without seat cushions. The first sofa has a softer look thanks to\",\"global_rank\":682,\"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\":\"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\":\"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° swivel chair, marked by great flexibility in use. The support disc, m\",\"global_rank\":190,\"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\":\"42091\",\"name\":\"SOLO\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/903160/MD-001_S193TS_S140LD.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/903160/MD-001_S193TS_S140LD.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42091,\"wins\":43,\"id\":221,\"fights\":78,\"manufacturer\":\"B&B Italia\",\"description\":\"Modular sofas<br />\\n Design Antonio Citterio (1999) <br />\\n<br />\\n Solo again interprets the theme of the sofa, beginning with a highly comfortable seat sustained by a die-cast aluminium support. Its size offers an image of lightness, which is enhanced \",\"global_rank\":231,\"active\":true},{\"permalink\":\"42093\",\"name\":\"HARRY Modular Sofas\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/903394/MD-001_H165S-H165D.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/903394/MD-001_H165S-H165D.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42093,\"wins\":40,\"id\":231,\"fights\":84,\"manufacturer\":\"B&B Italia\",\"description\":\"Modular sofas<br />\\nDesign Antonio Citterio (1995) <br />\\n<br />\\nSeats available in three depths distinguish Harry armchairs, sofas and modular elements, all with classic aluminium feet. A more formal seat is used on the armchair and sofas, while an inf\",\"global_rank\":504,\"active\":true},{\"permalink\":\"42094\",\"name\":\"DIESIS Sofa\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/903511/MD-001_D277B.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/903511/MD-001_D277B.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42094,\"wins\":46,\"id\":241,\"fights\":79,\"manufacturer\":\"B&B Italia\",\"description\":\"Modular sofas<br />\\nDesign Antonio Citterio (1979) <br />\\n<br />\\nDiesis is the full-fledged expression of contemporary design. Technology and top-quality materials bring out the best in timeless design. Available in leather or fabric, elegant even from \",\"global_rank\":179,\"active\":true},{\"permalink\":\"42169\",\"name\":\"PROFORMA APTA\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907606/MD-001_2062.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907606/MD-001_2062.jpg\",\"updated_at\":\"2011-03-03T14:50:07Z\",\"dp_id\":42169,\"wins\":28,\"id\":251,\"fights\":79,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas<br />\\nAC Collection by Antonio Citterio <br />\\n<br />\\nA large and slightly tapered seat is the distinguishing mark of the Proforma series, which develops the concept of a sofa in two different lengths and is completed with a large armchair. The meta\",\"global_rank\":740,\"active\":true},{\"permalink\":\"42170\",\"name\":\"LAUTUS APTA\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907632/MD-001_2301.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907632/MD-001_2301.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42170,\"wins\":29,\"id\":261,\"fights\":73,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas, armchair and ottoman<br />\\n AC Collection by Antonio Citterio <br />\\n<br />\\nA large armrest “encloses” the seat and backrest cushions for Lautus, an elegant range of timeless classic style. There are two sizes of the sofa, whose seat ca\",\"global_rank\":668,\"active\":true},{\"permalink\":\"42171\",\"name\":\"OMNIA APTA COLLECTION\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907684/MD-001_2402.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907684/MD-001_2402.jpg\",\"updated_at\":\"2011-03-03T14:50:07Z\",\"dp_id\":42171,\"wins\":30,\"id\":271,\"fights\":84,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas<br />\\nAC Collection by Antonio Citterio <br />\\n<br />\\nLinear or angular, it is also available with the terminal chaise lounge element. Omnia offers a more classic interpretation of comfort. Available in different lengths and depths, it is more inf\",\"global_rank\":743,\"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\":\"42175\",\"name\":\"AGATHOS APTA armchair\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907762/MD-001_9755.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907762/MD-001_9755.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42175,\"wins\":185,\"id\":291,\"fights\":413,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign Antonio Citterio (1997)<br />\\n<br />\\nVersatile seats, to be used in various areas of the home, with fabric or leather upholstery. They are available with nickel, bronzed or polished chrome steel or solid wood-veneered legs in the fi\",\"global_rank\":580,\"active\":true},{\"permalink\":\"42177\",\"name\":\"IMPRIMATUR APTA formal sofa\",\"created_at\":\"2010-02-11T20:19:56Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907801/MD-001_9863.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907801/MD-001_9863.jpg\",\"updated_at\":\"2011-03-03T14:50:07Z\",\"dp_id\":42177,\"wins\":18,\"id\":301,\"fights\":79,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofa<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 colored\",\"global_rank\":824,\"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\":\"42179\",\"name\":\"INTERVALLUM APTA dormeuse\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907840/MD-001_9950_1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907840/MD-001_9950_1.jpg\",\"updated_at\":\"2011-03-03T14:50:05Z\",\"dp_id\":42179,\"wins\":40,\"id\":321,\"fights\":87,\"manufacturer\":\"B&B Italia\",\"description\":\"Dormeuse<br />\\nDesign Antonio Citterio (1999)<br />\\n<br />\\nThe dormeuse for mid-room placement and the square ottoman are elements that go with several sofas and armchairs of the Apta Collection thanks to a detail present on many of the items: the nickel \",\"global_rank\":549,\"active\":true},{\"permalink\":\"42180\",\"name\":\"INTERVALLUM APTA ottoman\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907866/MD-001_9968.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907866/MD-001_9968.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42180,\"wins\":31,\"id\":331,\"fights\":79,\"manufacturer\":\"B&B Italia\",\"description\":\"Ottoman<br />\\nDesign Antonio Citterio (1999)<br />\\n<br />\\nThe dormeuse for mid-room placement and the square ottoman are elements that go with several sofas and armchairs of the Apta Collection thanks to a detail present on many of the items: the nickel o\",\"global_rank\":671,\"active\":true},{\"permalink\":\"42181\",\"name\":\"IMPRIMATUR APTA Armchair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907879/MD-001_9970.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907879/MD-001_9970.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42181,\"wins\":151,\"id\":341,\"fights\":394,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nAC Collection by Antonio Citterio <br />\\n<br />\\nInternal frame: tubular steel and steel sectionsInternal frame upholstery: Bayfit® (Bayer®) flexible cold shaped polyurethane foam, polyester fibre, polyester fibre wadding Seat cush\",\"global_rank\":689,\"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\":\"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\":\"42184\",\"name\":\"AMONEUS AC sofa\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/907996/MD-001_ac229.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/907996/MD-001_ac229.jpg\",\"updated_at\":\"2011-03-03T14:50:03Z\",\"dp_id\":42184,\"wins\":50,\"id\":371,\"fights\":87,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofa<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 ba\",\"global_rank\":206,\"active\":true},{\"permalink\":\"42185\",\"name\":\"AMONEUS AC chair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908022/MD-001_ac64p.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908022/MD-001_ac64p.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42185,\"wins\":167,\"id\":381,\"fights\":384,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<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 envelopin\",\"global_rank\":597,\"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\":\"42188\",\"name\":\"CALLIOPE SIMPLICE chair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908087/MD-001_sm65x.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908087/MD-001_sm65x.jpg\",\"updated_at\":\"2011-03-03T14:50:07Z\",\"dp_id\":42188,\"wins\":125,\"id\":401,\"fights\":363,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign Antonio Citterio (2006)<br />\\n<br />\\nA cheeky irony marks the small calliope armchair with a curbed backrest, a seat with an oval base and a frame in brushed light or black oak, grey and brown oak. The same finishes are available fo\",\"global_rank\":752,\"active\":true},{\"permalink\":\"42189\",\"name\":\"SIMPLEX SIMPLICE Sofa\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908113/MD-001_smd242.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908113/MD-001_smd242.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42189,\"wins\":44,\"id\":411,\"fights\":85,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas and ottoman<br />\\n AC Collection by Antonio Citterio <br />\\n<br />\\nThe sofa with a one-piece seat is available in three sizes with the option of quilted stitching, both in leather and in fabric. The large armchair and ottoman can also be finished w\",\"global_rank\":356,\"active\":true},{\"permalink\":\"42190\",\"name\":\"SIMPLEX SIMPLICE\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908139/MD-001_smd272_1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908139/MD-001_smd272_1.jpg\",\"updated_at\":\"2011-03-03T14:50:04Z\",\"dp_id\":42190,\"wins\":57,\"id\":421,\"fights\":106,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas and ottoman<br />\\n AC Collection by Antonio Citterio <br />\\n<br />\\nThe sofa with a one-piece seat is available in three sizes with the option quilted stitching, both in the leather and fabric versions. Quilted stitching also graces the large armcha\",\"global_rank\":306,\"active\":true},{\"permalink\":\"42191\",\"name\":\"CRONO SIMPLICE Sofa\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908191/MD-001_smdc.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908191/MD-001_smdc.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42191,\"wins\":41,\"id\":431,\"fights\":92,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofa and armchair<br />\\nDesign Antonio Citterio (2002)<br />\\n<br />\\nThe semicircular curved form adds a special touch to crono, a sofa available in three lengths particularly suitable to mid-room placement. The same curved form also marks the armchair wi\",\"global_rank\":584,\"active\":true},{\"permalink\":\"42192\",\"name\":\"SIMPLEX SIMPLICE Sofa\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908230/MD-001_smdf197_1.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908230/MD-001_smdf197_1.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42192,\"wins\":37,\"id\":441,\"fights\":84,\"manufacturer\":\"B&B Italia\",\"description\":\"Sofas and ottoman<br />\\nDesign Antonio Citterio (2003)<br />\\n<br />\\nThe sofa with a one-piece seat is available in three sizes with the option of quilted stitching, both in the leather and fabric versions. Quilted stitching also graces the large armchair\",\"global_rank\":571,\"active\":true},{\"permalink\":\"42193\",\"name\":\"CRONO SIMPLICE chair\",\"created_at\":\"2010-02-11T20:19:57Z\",\"image_url\":\"http://s3.amazonaws.com/designerpages/assets/908256/MD-001_smpg.jpg\",\"asset_url\":\"http://s3.amazonaws.com/designerpages/assets/908256/MD-001_smpg.jpg\",\"updated_at\":\"2011-03-03T14:50:06Z\",\"dp_id\":42193,\"wins\":148,\"id\":451,\"fights\":387,\"manufacturer\":\"B&B Italia\",\"description\":\"Armchair<br />\\nDesign Antonio Citterio (2002)<br />\\n<br />\\nThe semicircular curved form adds a special touch to crono, a sofa available in three lengths particularly suitable to mid-room placement. The same curved form also marks the armchair with revolv\",\"global_rank\":691,\"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\":\"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® (Bayer®) flexible cold shaped polyurethane foam, shaped polyurethane, polyester fibre waddingInt\",\"global_rank\":379,\"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® (Bayer®) flexible cold shaped polyurethane foam, shaped polyurethane, polyeste\",\"global_rank\":569,\"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’s name. Numerous variations in finishe\",\"global_rank\":324,\"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\":\"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\":\"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}]"
|
28
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://productwars.com/api/v1/wars/bad_id/products.json
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 404
|
11
|
+
message: Not Found
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- application/json; charset=utf-8
|
15
|
+
x-runtime:
|
16
|
+
- "18"
|
17
|
+
server:
|
18
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
19
|
+
date:
|
20
|
+
- Tue, 15 Mar 2011 21:07:04 GMT
|
21
|
+
content-length:
|
22
|
+
- "88"
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
body: "{\"request\":\"http://localhost:3000/api/v1/wars/bad_id/products.json\",\"error\":\"Not found\"}"
|
26
|
+
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.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
|
+
- "\"baced4bd48695c39165d175ab9337ac8\""
|
15
|
+
content-type:
|
16
|
+
- application/json; charset=utf-8
|
17
|
+
x-runtime:
|
18
|
+
- "20"
|
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
|
+
- "156"
|
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}"
|
28
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://productwars.com/api/v1/wars/bad_id.json
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 404
|
11
|
+
message: Not Found
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- application/json; charset=utf-8
|
15
|
+
x-runtime:
|
16
|
+
- "17"
|
17
|
+
server:
|
18
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
19
|
+
date:
|
20
|
+
- Tue, 15 Mar 2011 21:07:03 GMT
|
21
|
+
content-length:
|
22
|
+
- "79"
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
body: "{\"request\":\"http://localhost:3000/api/v1/wars/bad_id.json\",\"error\":\"Not found\"}"
|
26
|
+
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/products/42067/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
|
+
- "\"6761ab7fdcfb61f2cb1a1124585ae1b4\""
|
15
|
+
content-type:
|
16
|
+
- application/json; charset=utf-8
|
17
|
+
x-runtime:
|
18
|
+
- "124"
|
19
|
+
server:
|
20
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
21
|
+
date:
|
22
|
+
- Tue, 15 Mar 2011 21:07:02 GMT
|
23
|
+
content-length:
|
24
|
+
- "305"
|
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\":\"Armchairs\",\"created_at\":\"2010-02-24T05:31:46Z\",\"updated_at\":\"2010-10-26T14:50:58Z\",\"id\":71,\"fights\":6928,\"description\":\"\",\"active\":false}]"
|
28
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://productwars.com/api/v1/products/bad_id/wars.json
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 404
|
11
|
+
message: Not Found
|
12
|
+
headers:
|
13
|
+
content-type:
|
14
|
+
- application/json; charset=utf-8
|
15
|
+
x-runtime:
|
16
|
+
- "20"
|
17
|
+
server:
|
18
|
+
- WEBrick/1.3.1 (Ruby/1.8.7/2009-06-12)
|
19
|
+
date:
|
20
|
+
- Tue, 15 Mar 2011 21:07:03 GMT
|
21
|
+
content-length:
|
22
|
+
- "88"
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
body: "{\"request\":\"http://localhost:3000/api/v1/products/bad_id/wars.json\",\"error\":\"Not found\"}"
|
26
|
+
http_version: "1.1"
|