black_book 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,55 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.blackbookws.com/UsedCarWSX.asmx
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><env:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
9
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:tns=\"https://blackbookws.com/UsedCarWSX\"
10
+ xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"><env:Header><UserCredentials
11
+ xmlns=\"https://blackbookws.com/UsedCarWSX\">\n <userid>xxxxx</userid>\n
12
+ \ <password>xxxxx</password>\n <customer/>\n <producttype>W</producttype>\n
13
+ \ <returncode>0</returncode>\n <returnmessage/>\n </UserCredentials></env:Header><env:Body><tns:CurrentValues><tns:sCountryCode>INVALID</tns:sCountryCode><tns:sFrequencyCode>W</tns:sFrequencyCode><tns:sYear>2013</tns:sYear><tns:sMake>Ford</tns:sMake><tns:sModel>Fiesta</tns:sModel><tns:sSeries>SE</tns:sSeries><tns:sStyle>4D
14
+ Hatchback</tns:sStyle><tns:iMileage>10000</tns:iMileage><tns:sState>IL</tns:sState><tns:iExtraCleanAddDeductAdj>0</tns:iExtraCleanAddDeductAdj><tns:iCleanAddDeductAdj>0</tns:iCleanAddDeductAdj><tns:iAverageAddDeductAdj>0</tns:iAverageAddDeductAdj><tns:iRoughAddDeductAdj>0</tns:iRoughAddDeductAdj><tns:bFillDrilldown>false</tns:bFillDrilldown><tns:bReturnMileage>true</tns:bReturnMileage><tns:bReturnAddDeducts>true</tns:bReturnAddDeducts></tns:CurrentValues></env:Body></env:Envelope>"
15
+ headers:
16
+ Soapaction:
17
+ - ! '"https://blackbookws.com/UsedCarWSX/CurrentValues"'
18
+ Content-Type:
19
+ - text/xml;charset=UTF-8
20
+ Content-Length:
21
+ - '1304'
22
+ Accept:
23
+ - ! '*/*'
24
+ User-Agent:
25
+ - Ruby
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: OK
30
+ headers:
31
+ Cache-Control:
32
+ - private, max-age=0
33
+ Content-Type:
34
+ - text/xml; charset=utf-8
35
+ Server:
36
+ - Microsoft-IIS/7.5
37
+ X-Aspnet-Version:
38
+ - 2.0.50727
39
+ X-Powered-By:
40
+ - ASP.NET
41
+ Date:
42
+ - Thu, 06 Jun 2013 17:34:29 GMT
43
+ Content-Length:
44
+ - '643'
45
+ body:
46
+ encoding: US-ASCII
47
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
48
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><UserCredentials
49
+ xmlns="https://blackbookws.com/UsedCarWSX"><userid>xxxxx</userid><password>xxxxx</password><customer
50
+ /><producttype>W</producttype><returncode>31</returncode><returnmessage>Invalid
51
+ or missing country code</returnmessage></UserCredentials></soap:Header><soap:Body><CurrentValuesResponse
52
+ xmlns="https://blackbookws.com/UsedCarWSX"><CurrentValuesResult /></CurrentValuesResponse></soap:Body></soap:Envelope>
53
+ http_version:
54
+ recorded_at: Thu, 06 Jun 2013 17:34:30 GMT
55
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.blackbookws.com/UsedCarWSX.asmx
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><env:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
9
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:tns=\"https://blackbookws.com/UsedCarWSX\"
10
+ xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"><env:Header><UserCredentials
11
+ xmlns=\"https://blackbookws.com/UsedCarWSX\">\n <userid>xxxxx</userid>\n
12
+ \ <password>xxxxx</password>\n <customer/>\n <producttype>W</producttype>\n
13
+ \ <returncode>0</returncode>\n <returnmessage/>\n </UserCredentials></env:Header><env:Body><tns:CurrentValues><tns:sCountryCode>U</tns:sCountryCode><tns:sFrequencyCode>W</tns:sFrequencyCode><tns:sYear>2013</tns:sYear><tns:sMake>Ford</tns:sMake><tns:sModel>Fiesta</tns:sModel><tns:sSeries>SE</tns:sSeries><tns:sStyle>4D
14
+ Hatchback</tns:sStyle><tns:iMileage>10000</tns:iMileage><tns:sState>IL</tns:sState><tns:iExtraCleanAddDeductAdj>0</tns:iExtraCleanAddDeductAdj><tns:iCleanAddDeductAdj>0</tns:iCleanAddDeductAdj><tns:iAverageAddDeductAdj>0</tns:iAverageAddDeductAdj><tns:iRoughAddDeductAdj>0</tns:iRoughAddDeductAdj><tns:bFillDrilldown>false</tns:bFillDrilldown><tns:bReturnMileage>true</tns:bReturnMileage><tns:bReturnAddDeducts>true</tns:bReturnAddDeducts></tns:CurrentValues></env:Body></env:Envelope>"
15
+ headers:
16
+ Soapaction:
17
+ - ! '"https://blackbookws.com/UsedCarWSX/CurrentValues"'
18
+ Content-Type:
19
+ - text/xml;charset=UTF-8
20
+ Content-Length:
21
+ - '1298'
22
+ Accept:
23
+ - ! '*/*'
24
+ User-Agent:
25
+ - Ruby
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: OK
30
+ headers:
31
+ Cache-Control:
32
+ - private, max-age=0
33
+ Content-Type:
34
+ - text/xml; charset=utf-8
35
+ Server:
36
+ - Microsoft-IIS/7.5
37
+ X-Aspnet-Version:
38
+ - 2.0.50727
39
+ X-Powered-By:
40
+ - ASP.NET
41
+ Date:
42
+ - Thu, 06 Jun 2013 17:34:30 GMT
43
+ Content-Length:
44
+ - '6690'
45
+ body:
46
+ encoding: US-ASCII
47
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
48
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><UserCredentials
49
+ xmlns="https://blackbookws.com/UsedCarWSX"><userid>xxxxx</userid><password>xxxxx</password><customer
50
+ /><producttype>W</producttype><returncode>0</returncode><returnmessage>success
51
+ - (getValues)</returnmessage></UserCredentials></soap:Header><soap:Body><CurrentValuesResponse
52
+ xmlns="https://blackbookws.com/UsedCarWSX"><CurrentValuesResult><valueArray><BBValue><country>U</country><frequency>W</frequency><year>2013</year><make>Ford</make><model>Fiesta</model><series>SE</series><style>4D
53
+ Hatchback</style><vin_year>D</vin_year><whole_xclean>13925</whole_xclean><whole_clean>13700</whole_clean><whole_avg>12825</whole_avg><whole_rough>11500</whole_rough><retail_xclean>16900</retail_xclean><retail_clean>16500</retail_clean><retail_avg>15450</retail_avg><retail_rough>13625</retail_rough><tradein_clean>13920</tradein_clean><tradein_avg>13145</tradein_avg><tradein_rough>10865</tradein_rough><finadv>13850</finadv><base_whole_xclean>14400</base_whole_xclean><base_whole_clean>13700</base_whole_clean><base_whole_avg>12700</base_whole_avg><base_whole_rough>11500</base_whole_rough><mileage_adj_whole_xclean>-475</mileage_adj_whole_xclean><mileage_adj_whole_clean>0</mileage_adj_whole_clean><mileage_adj_whole_avg>125</mileage_adj_whole_avg><mileage_adj_whole_rough>0</mileage_adj_whole_rough><ad_adj_whole_xclean>0</ad_adj_whole_xclean><ad_adj_whole_clean>0</ad_adj_whole_clean><ad_adj_whole_avg>0</ad_adj_whole_avg><ad_adj_whole_rough>0</ad_adj_whole_rough><reg_adj_whole_xclean>0</reg_adj_whole_xclean><reg_adj_whole_clean>0</reg_adj_whole_clean><reg_adj_whole_avg>0</reg_adj_whole_avg><reg_adj_whole_rough>0</reg_adj_whole_rough><base_retail_xclean>17375</base_retail_xclean><base_retail_clean>16500</base_retail_clean><base_retail_avg>15325</base_retail_avg><base_retail_rough>13625</base_retail_rough><mileage_adj_retail_xclean>-475</mileage_adj_retail_xclean><mileage_adj_retail_clean>0</mileage_adj_retail_clean><mileage_adj_retail_avg>125</mileage_adj_retail_avg><mileage_adj_retail_rough>0</mileage_adj_retail_rough><ad_adj_retail_xclean>0</ad_adj_retail_xclean><ad_adj_retail_clean>0</ad_adj_retail_clean><ad_adj_retail_avg>0</ad_adj_retail_avg><ad_adj_retail_rough>0</ad_adj_retail_rough><reg_adj_retail_xclean>0</reg_adj_retail_xclean><reg_adj_retail_clean>0</reg_adj_retail_clean><reg_adj_retail_avg>0</reg_adj_retail_avg><reg_adj_retail_rough>0</reg_adj_retail_rough><base_tradein_clean>13920</base_tradein_clean><base_tradein_avg>13020</base_tradein_avg><base_tradein_rough>10865</base_tradein_rough><mileage_adj_tradein_clean>0</mileage_adj_tradein_clean><mileage_adj_tradein_avg>125</mileage_adj_tradein_avg><mileage_adj_tradein_rough>0</mileage_adj_tradein_rough><ad_adj_tradein_clean>0</ad_adj_tradein_clean><ad_adj_tradein_avg>0</ad_adj_tradein_avg><ad_adj_tradein_rough>0</ad_adj_tradein_rough><reg_adj_tradein_clean>0</reg_adj_tradein_clean><reg_adj_tradein_avg>0</reg_adj_tradein_avg><reg_adj_tradein_rough>0</reg_adj_tradein_rough><base_finadv>14100</base_finadv><mileage_adj_finadv>-250</mileage_adj_finadv><ad_adj_finadv>0</ad_adj_finadv><reg_adj_finadv>0</reg_adj_finadv><resid12>0</resid12><resid24>0</resid24><resid30>0</resid30><resid36>0</resid36><resid42>0</resid42><resid48>0</resid48><resid60>0</resid60><resid72>0</resid72><base_resid12>0</base_resid12><base_resid24>0</base_resid24><base_resid30>0</base_resid30><base_resid36>0</base_resid36><base_resid42>0</base_resid42><base_resid48>0</base_resid48><base_resid60>0</base_resid60><base_resid72>0</base_resid72><mileage_adj_resid12>0</mileage_adj_resid12><mileage_adj_resid24>0</mileage_adj_resid24><mileage_adj_resid30>0</mileage_adj_resid30><mileage_adj_resid36>0</mileage_adj_resid36><mileage_adj_resid42>0</mileage_adj_resid42><mileage_adj_resid48>0</mileage_adj_resid48><mileage_adj_resid60>0</mileage_adj_resid60><mileage_adj_resid72>0</mileage_adj_resid72><ad_adj_resid12>0</ad_adj_resid12><ad_adj_resid24>0</ad_adj_resid24><ad_adj_resid30>0</ad_adj_resid30><ad_adj_resid36>0</ad_adj_resid36><ad_adj_resid42>0</ad_adj_resid42><ad_adj_resid48>0</ad_adj_resid48><ad_adj_resid60>0</ad_adj_resid60><ad_adj_resid72>0</ad_adj_resid72><end_of_term_value>0</end_of_term_value><region2>-50</region2><region3>75</region3><region4>-100</region4><region5>0</region5><region6>0</region6><ab_province>0</ab_province><bc_province>0</bc_province><mb_province>0</mb_province><nb_province>0</nb_province><nl_province>0</nl_province><nt_province>0</nt_province><ns_province>0</ns_province><nu_province>0</nu_province><on_province>0</on_province><pe_province>0</pe_province><qc_province>0</qc_province><sk_province>0</sk_province><yt_province>0</yt_province><group_number>0122</group_number><msrp>16200</msrp><ert>18140</ert><mileage_category>A</mileage_category><actualdate>6/3/2013</actualdate><full_vin>3FADP4EJD</full_vin><full_uvc>2013300147</full_uvc><model_number>P4E</model_number><veh_class>A</veh_class><wheel_base>0</wheel_base><taxable_hp>0</taxable_hp><gvw>0</gvw><bbr_score>0</bbr_score><bbf_rating>0</bbf_rating></BBValue></valueArray><mileageArray><BBMileage><vin_year>D</vin_year><beginrange>9001</beginrange><endrange>12000</endrange><extraclean>-475</extraclean><clean>0</clean><average>125</average><rough>0</rough><finadv>-250</finadv><mileage_cat>A</mileage_cat></BBMileage></mileageArray><addDeductArray><BBAddDeduct><uoc>87</uoc><description>Aluminum
54
+ Wheels</description><groupnum>0122</groupnum><extraclean>200</extraclean><clean>200</clean><average>200</average><rough>200</rough><auto>N</auto><res12>175</res12><res24>150</res24><res30>125</res30><res36>125</res36><res42>100</res42><res48>100</res48><res60>75</res60><res72>50</res72></BBAddDeduct><BBAddDeduct><uoc>12</uoc><description>Power
55
+ Moonroof</description><groupnum>0122</groupnum><extraclean>600</extraclean><clean>600</clean><average>600</average><rough>600</rough><auto>N</auto><res12>550</res12><res24>500</res24><res30>475</res30><res36>450</res36><res42>425</res42><res48>400</res48><res60>350</res60><res72>300</res72></BBAddDeduct><BBAddDeduct><uoc>05</uoc><description>w/o
56
+ Auto Trans</description><groupnum>0122</groupnum><extraclean>-900</extraclean><clean>-900</clean><average>-900</average><rough>-900</rough><auto>N</auto><res12>-850</res12><res24>-800</res24><res30>-775</res30><res36>-750</res36><res42>-725</res42><res48>-700</res48><res60>-650</res60><res72>-600</res72></BBAddDeduct></addDeductArray></CurrentValuesResult></CurrentValuesResponse></soap:Body></soap:Envelope>
57
+ http_version:
58
+ recorded_at: Thu, 06 Jun 2013 17:34:30 GMT
59
+ recorded_with: VCR 2.5.0
@@ -4,27 +4,22 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://www.blackbookws.com/UsedCarWSX.asmx
6
6
  body:
7
- encoding: UTF-8
8
- string: |-
9
- <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://blackbookws.com/UsedCarWSX" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><UserCredentials xmlns="https://blackbookws.com/UsedCarWSX">
10
- <userid>xxxx</userid>
11
- <password>xxxx</password>
12
- <customer/>
13
- <producttype>W</producttype>
14
- <returncode>0</returncode>
15
- <returnmessage/>
16
- </UserCredentials></env:Header><env:Body><tns:CurrentVINValues><tns:sCountryCode>U</tns:sCountryCode><tns:sFrequencyCode>W</tns:sFrequencyCode><tns:sVIN>NOT_FOUND</tns:sVIN><tns:iMileage>50000</tns:iMileage><tns:sState>IL</tns:sState><tns:iExtraCleanAddDeductAdj>0</tns:iExtraCleanAddDeductAdj><tns:iCleanAddDeductAdj>0</tns:iCleanAddDeductAdj><tns:iAverageAddDeductAdj>0</tns:iAverageAddDeductAdj><tns:iRoughAddDeductAdj>0</tns:iRoughAddDeductAdj><tns:bFillDrilldown>false</tns:bFillDrilldown><tns:bReturnMileage>true</tns:bReturnMileage><tns:bReturnAddDeducts>true</tns:bReturnAddDeducts></tns:CurrentVINValues></env:Body></env:Envelope>
7
+ encoding: US-ASCII
8
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><env:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
9
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:tns=\"https://blackbookws.com/UsedCarWSX\"
10
+ xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"><env:Header><UserCredentials
11
+ xmlns=\"https://blackbookws.com/UsedCarWSX\">\n <userid>xxxxx</userid>\n
12
+ \ <password>xxxxx</password>\n <customer/>\n <producttype>W</producttype>\n
13
+ \ <returncode>0</returncode>\n <returnmessage/>\n </UserCredentials></env:Header><env:Body><tns:CurrentVINValues><tns:sCountryCode>U</tns:sCountryCode><tns:sFrequencyCode>W</tns:sFrequencyCode><tns:sVIN>NOT_FOUND</tns:sVIN><tns:iMileage>50000</tns:iMileage><tns:sState>IL</tns:sState><tns:iExtraCleanAddDeductAdj>0</tns:iExtraCleanAddDeductAdj><tns:iCleanAddDeductAdj>0</tns:iCleanAddDeductAdj><tns:iAverageAddDeductAdj>0</tns:iAverageAddDeductAdj><tns:iRoughAddDeductAdj>0</tns:iRoughAddDeductAdj><tns:bFillDrilldown>false</tns:bFillDrilldown><tns:bReturnMileage>true</tns:bReturnMileage><tns:bReturnAddDeducts>true</tns:bReturnAddDeducts></tns:CurrentVINValues></env:Body></env:Envelope>"
17
14
  headers:
18
15
  Soapaction:
19
- - '"https://blackbookws.com/UsedCarWSX/CurrentVINValues"'
16
+ - ! '"https://blackbookws.com/UsedCarWSX/CurrentVINValues"'
20
17
  Content-Type:
21
18
  - text/xml;charset=UTF-8
22
19
  Content-Length:
23
20
  - '1183'
24
- Accept-Encoding:
25
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
26
21
  Accept:
27
- - '*/*'
22
+ - ! '*/*'
28
23
  User-Agent:
29
24
  - Ruby
30
25
  response:
@@ -36,8 +31,6 @@ http_interactions:
36
31
  - private, max-age=0
37
32
  Content-Type:
38
33
  - text/xml; charset=utf-8
39
- Vary:
40
- - Accept-Encoding
41
34
  Server:
42
35
  - Microsoft-IIS/7.5
43
36
  X-Aspnet-Version:
@@ -45,18 +38,18 @@ http_interactions:
45
38
  X-Powered-By:
46
39
  - ASP.NET
47
40
  Date:
48
- - Wed, 05 Jun 2013 15:54:25 GMT
41
+ - Thu, 06 Jun 2013 17:34:28 GMT
49
42
  Content-Length:
50
- - '458'
43
+ - '671'
51
44
  body:
52
- encoding: UTF-8
45
+ encoding: US-ASCII
53
46
  string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
54
47
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><UserCredentials
55
- xmlns="https://blackbookws.com/UsedCarWSX"><userid>xxxx</userid><password>xxxx</password><customer
48
+ xmlns="https://blackbookws.com/UsedCarWSX"><userid>xxxxx</userid><password>xxxxx</password><customer
56
49
  /><producttype>W</producttype><returncode>20</returncode><returnmessage>VIN
57
50
  not found</returnmessage></UserCredentials></soap:Header><soap:Body><CurrentVINValuesResponse
58
51
  xmlns="https://blackbookws.com/UsedCarWSX"><CurrentVINValuesResult><valueArray
59
52
  /></CurrentVINValuesResult></CurrentVINValuesResponse></soap:Body></soap:Envelope>
60
53
  http_version:
61
- recorded_at: Wed, 05 Jun 2013 15:54:28 GMT
54
+ recorded_at: Thu, 06 Jun 2013 17:34:28 GMT
62
55
  recorded_with: VCR 2.5.0
@@ -7,10 +7,8 @@ http_interactions:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
10
  Accept:
13
- - '*/*'
11
+ - ! '*/*'
14
12
  User-Agent:
15
13
  - Ruby
16
14
  response:
@@ -22,8 +20,6 @@ http_interactions:
22
20
  - private, max-age=0
23
21
  Content-Type:
24
22
  - text/xml; charset=utf-8
25
- Vary:
26
- - Accept-Encoding
27
23
  Server:
28
24
  - Microsoft-IIS/7.5
29
25
  X-Aspnet-Version:
@@ -31,12 +27,12 @@ http_interactions:
31
27
  X-Powered-By:
32
28
  - ASP.NET
33
29
  Date:
34
- - Wed, 05 Jun 2013 15:54:33 GMT
30
+ - Thu, 06 Jun 2013 17:38:17 GMT
35
31
  Content-Length:
36
- - '30705'
32
+ - '329867'
37
33
  body:
38
- encoding: UTF-8
39
- string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
34
+ encoding: US-ASCII
35
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
40
36
  xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"
41
37
  xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"https://blackbookws.com/UsedCarWSX\"
42
38
  xmlns:s=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\"
@@ -4174,5 +4170,5 @@ http_interactions:
4174
4170
  \ <http:address location=\"https://www.blackbookws.com/UsedCarWSX.asmx\"
4175
4171
  />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
4176
4172
  http_version:
4177
- recorded_at: Wed, 05 Jun 2013 15:54:35 GMT
4173
+ recorded_at: Thu, 06 Jun 2013 17:38:18 GMT
4178
4174
  recorded_with: VCR 2.5.0
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.blackbookws.com/UsedCarWSX.asmx
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><env:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
9
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:tns=\"https://blackbookws.com/UsedCarWSX\"
10
+ xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"><env:Header><UserCredentials
11
+ xmlns=\"https://blackbookws.com/UsedCarWSX\">\n <userid>xxxxx</userid>\n
12
+ \ <password>xxxxx</password>\n <customer/>\n <producttype>W</producttype>\n
13
+ \ <returncode>0</returncode>\n <returnmessage/>\n </UserCredentials></env:Header><env:Body><tns:Years><tns:sCountryCode>INVALID</tns:sCountryCode></tns:Years></env:Body></env:Envelope>"
14
+ headers:
15
+ Soapaction:
16
+ - ! '"https://blackbookws.com/UsedCarWSX/Years"'
17
+ Content-Type:
18
+ - text/xml;charset=UTF-8
19
+ Content-Length:
20
+ - '678'
21
+ Accept:
22
+ - ! '*/*'
23
+ User-Agent:
24
+ - Ruby
25
+ response:
26
+ status:
27
+ code: 200
28
+ message: OK
29
+ headers:
30
+ Cache-Control:
31
+ - private, max-age=0
32
+ Content-Type:
33
+ - text/xml; charset=utf-8
34
+ Server:
35
+ - Microsoft-IIS/7.5
36
+ X-Aspnet-Version:
37
+ - 2.0.50727
38
+ X-Powered-By:
39
+ - ASP.NET
40
+ Date:
41
+ - Thu, 06 Jun 2013 17:34:32 GMT
42
+ Content-Length:
43
+ - '619'
44
+ body:
45
+ encoding: US-ASCII
46
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
47
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><UserCredentials
48
+ xmlns="https://blackbookws.com/UsedCarWSX"><userid>xxxxx</userid><password>xxxxx</password><customer
49
+ /><producttype>W</producttype><returncode>31</returncode><returnmessage>Invalid
50
+ or missing country code</returnmessage></UserCredentials></soap:Header><soap:Body><YearsResponse
51
+ xmlns="https://blackbookws.com/UsedCarWSX"><YearsResult /></YearsResponse></soap:Body></soap:Envelope>
52
+ http_version:
53
+ recorded_at: Thu, 06 Jun 2013 17:34:32 GMT
54
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.blackbookws.com/UsedCarWSX.asmx
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><env:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
9
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:tns=\"https://blackbookws.com/UsedCarWSX\"
10
+ xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"><env:Header><UserCredentials
11
+ xmlns=\"https://blackbookws.com/UsedCarWSX\">\n <userid>xxxxx</userid>\n
12
+ \ <password>xxxxx</password>\n <customer/>\n <producttype>W</producttype>\n
13
+ \ <returncode>0</returncode>\n <returnmessage/>\n </UserCredentials></env:Header><env:Body><tns:Years><tns:sCountryCode>U</tns:sCountryCode></tns:Years></env:Body></env:Envelope>"
14
+ headers:
15
+ Soapaction:
16
+ - ! '"https://blackbookws.com/UsedCarWSX/Years"'
17
+ Content-Type:
18
+ - text/xml;charset=UTF-8
19
+ Content-Length:
20
+ - '672'
21
+ Accept:
22
+ - ! '*/*'
23
+ User-Agent:
24
+ - Ruby
25
+ response:
26
+ status:
27
+ code: 200
28
+ message: OK
29
+ headers:
30
+ Cache-Control:
31
+ - private, max-age=0
32
+ Content-Type:
33
+ - text/xml; charset=utf-8
34
+ Server:
35
+ - Microsoft-IIS/7.5
36
+ X-Aspnet-Version:
37
+ - 2.0.50727
38
+ X-Powered-By:
39
+ - ASP.NET
40
+ Date:
41
+ - Thu, 06 Jun 2013 17:34:31 GMT
42
+ Content-Length:
43
+ - '903'
44
+ body:
45
+ encoding: US-ASCII
46
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
47
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><UserCredentials
48
+ xmlns="https://blackbookws.com/UsedCarWSX"><userid>xxxxx</userid><password>xxxxx</password><customer
49
+ /><producttype>W</producttype><returncode>0</returncode><returnmessage>success
50
+ - (years)</returnmessage></UserCredentials></soap:Header><soap:Body><YearsResponse
51
+ xmlns="https://blackbookws.com/UsedCarWSX"><YearsResult><years><year>2014</year><year>2013</year><year>2012</year><year>2011</year><year>2010</year><year>2009</year><year>2008</year><year>2007</year><year>2006</year><year>2005</year><year>2004</year><year>2003</year><year>2002</year><year>2001</year><year>2000</year><year>1999</year></years></YearsResult></YearsResponse></soap:Body></soap:Envelope>
52
+ http_version:
53
+ recorded_at: Thu, 06 Jun 2013 17:34:31 GMT
54
+ recorded_with: VCR 2.5.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: black_book
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Coconate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-05 00:00:00.000000000 Z
11
+ date: 2013-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: symboltable
@@ -143,10 +143,26 @@ files:
143
143
  - lib/black_book/version.rb
144
144
  - test/black_book/used_cars_test.rb
145
145
  - test/black_book_test.rb
146
+ - test/fixtures/vcr_cassettes/make_savon_error.yml
147
+ - test/fixtures/vcr_cassettes/makes_error.yml
148
+ - test/fixtures/vcr_cassettes/makes_valid_request.yml
149
+ - test/fixtures/vcr_cassettes/model_error.yml
150
+ - test/fixtures/vcr_cassettes/model_savon_error.yml
151
+ - test/fixtures/vcr_cassettes/models_valid_request.yml
146
152
  - test/fixtures/vcr_cassettes/savon_error.yml
153
+ - test/fixtures/vcr_cassettes/series_error.yml
154
+ - test/fixtures/vcr_cassettes/series_savon_error.yml
155
+ - test/fixtures/vcr_cassettes/series_valid_request.yml
156
+ - test/fixtures/vcr_cassettes/style_savon_error.yml
157
+ - test/fixtures/vcr_cassettes/styles_error.yml
158
+ - test/fixtures/vcr_cassettes/styles_valid_request.yml
147
159
  - test/fixtures/vcr_cassettes/valid_request.yml
160
+ - test/fixtures/vcr_cassettes/value_savon_error.yml
161
+ - test/fixtures/vcr_cassettes/value_valid_request.yml
148
162
  - test/fixtures/vcr_cassettes/vin_not_found.yml
149
163
  - test/fixtures/vcr_cassettes/wsdl.yml
164
+ - test/fixtures/vcr_cassettes/years_savon_error.yml
165
+ - test/fixtures/vcr_cassettes/years_valid_request.yml
150
166
  - test/minitest_helper.rb
151
167
  homepage: http://github.com/tonycoco/black_book
152
168
  licenses:
@@ -175,8 +191,24 @@ summary: A ruby interface for Black Book's API
175
191
  test_files:
176
192
  - test/black_book/used_cars_test.rb
177
193
  - test/black_book_test.rb
194
+ - test/fixtures/vcr_cassettes/make_savon_error.yml
195
+ - test/fixtures/vcr_cassettes/makes_error.yml
196
+ - test/fixtures/vcr_cassettes/makes_valid_request.yml
197
+ - test/fixtures/vcr_cassettes/model_error.yml
198
+ - test/fixtures/vcr_cassettes/model_savon_error.yml
199
+ - test/fixtures/vcr_cassettes/models_valid_request.yml
178
200
  - test/fixtures/vcr_cassettes/savon_error.yml
201
+ - test/fixtures/vcr_cassettes/series_error.yml
202
+ - test/fixtures/vcr_cassettes/series_savon_error.yml
203
+ - test/fixtures/vcr_cassettes/series_valid_request.yml
204
+ - test/fixtures/vcr_cassettes/style_savon_error.yml
205
+ - test/fixtures/vcr_cassettes/styles_error.yml
206
+ - test/fixtures/vcr_cassettes/styles_valid_request.yml
179
207
  - test/fixtures/vcr_cassettes/valid_request.yml
208
+ - test/fixtures/vcr_cassettes/value_savon_error.yml
209
+ - test/fixtures/vcr_cassettes/value_valid_request.yml
180
210
  - test/fixtures/vcr_cassettes/vin_not_found.yml
181
211
  - test/fixtures/vcr_cassettes/wsdl.yml
212
+ - test/fixtures/vcr_cassettes/years_savon_error.yml
213
+ - test/fixtures/vcr_cassettes/years_valid_request.yml
182
214
  - test/minitest_helper.rb