ruby-ecomm-client 1.1.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +15 -0
  2. data/.ruby-version +1 -1
  3. data/Gemfile +1 -0
  4. data/README.md +10 -0
  5. data/fixtures/vcr_cassettes/account_info/default.yml +49 -34
  6. data/fixtures/vcr_cassettes/account_info/unknown/resource_id.yml +42 -34
  7. data/fixtures/vcr_cassettes/account_info/unknown/resource_type.yml +42 -34
  8. data/fixtures/vcr_cassettes/account_info/unknown/source_tree_id.yml +42 -34
  9. data/fixtures/vcr_cassettes/express_checkout/configured.yml +39 -31
  10. data/fixtures/vcr_cassettes/express_checkout/unknown.yml +39 -31
  11. data/fixtures/vcr_cassettes/request_change/express/downgrade/default.yml +46 -36
  12. data/fixtures/vcr_cassettes/request_change/express/downgrade/noop.yml +55 -34
  13. data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_id.yml +46 -34
  14. data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_type.yml +47 -34
  15. data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/target_tree_id.yml +46 -34
  16. data/fixtures/vcr_cassettes/request_change/express/relay/default.yml +48 -0
  17. data/fixtures/vcr_cassettes/request_change/express/upgrade/default.yml +55 -36
  18. data/fixtures/vcr_cassettes/request_change/express/upgrade/noop.yml +46 -34
  19. data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_id.yml +46 -34
  20. data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_type.yml +47 -34
  21. data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/target_tree_id.yml +46 -34
  22. data/fixtures/vcr_cassettes/request_change/manager/downgrade/default.yml +43 -34
  23. data/fixtures/vcr_cassettes/request_change/manager/downgrade/noop.yml +43 -34
  24. data/fixtures/vcr_cassettes/request_change/manager/downgrade/unknown/resource_id.yml +43 -34
  25. data/fixtures/vcr_cassettes/request_change/manager/downgrade/unknown/resource_type.yml +43 -34
  26. data/fixtures/vcr_cassettes/request_change/manager/downgrade/unknown/target_tree_id.yml +43 -34
  27. data/fixtures/vcr_cassettes/request_change/manager/relay/default.yml +100 -0
  28. data/fixtures/vcr_cassettes/request_change/manager/upgrade/default.yml +43 -34
  29. data/fixtures/vcr_cassettes/request_change/manager/upgrade/noop.yml +43 -34
  30. data/fixtures/vcr_cassettes/request_change/manager/upgrade/unknown/resource_id.yml +43 -34
  31. data/fixtures/vcr_cassettes/request_change/manager/upgrade/unknown/resource_type.yml +43 -34
  32. data/fixtures/vcr_cassettes/request_change/manager/upgrade/unknown/target_tree_id.yml +43 -34
  33. data/fixtures/vcr_cassettes/transitions/default/unknown/source_tree_id.yml +42 -34
  34. data/fixtures/vcr_cassettes/transitions/many.yml +49 -34
  35. data/fixtures/vcr_cassettes/transitions/one.yml +49 -34
  36. data/lib/ruby-ecomm-client.rb +13 -1
  37. data/lib/ruby-ecomm-client/client.rb +19 -148
  38. data/lib/ruby-ecomm-client/config.rb +25 -0
  39. data/lib/ruby-ecomm-client/service_base.rb +55 -0
  40. data/lib/ruby-ecomm-client/service_manager.rb +75 -0
  41. data/lib/ruby-ecomm-client/service_profile.rb +30 -0
  42. data/lib/ruby-ecomm-client/service_purchase.rb +79 -0
  43. data/lib/ruby-ecomm-client/util.rb +16 -0
  44. data/lib/ruby-ecomm-client/version.rb +1 -1
  45. data/ruby-ecomm-client.gemspec +2 -1
  46. data/script/bootstrap +68 -0
  47. data/script/cibuild +4 -5
  48. data/spec/ruby-ecomm-client/client_spec.rb +32 -339
  49. data/spec/ruby-ecomm-client/config_spec.rb +56 -0
  50. data/spec/ruby-ecomm-client/service_base_spec.rb +119 -0
  51. data/spec/ruby-ecomm-client/service_manager_spec.rb +285 -0
  52. data/spec/ruby-ecomm-client/service_profile_spec.rb +33 -0
  53. data/spec/ruby-ecomm-client/service_purchase_spec.rb +160 -0
  54. data/spec/ruby-ecomm-client/util_spec.rb +66 -0
  55. data/spec/spec_helper.rb +10 -0
  56. metadata +160 -152
  57. data/lib/ruby-ecomm-client/converter.rb +0 -45
  58. data/spec/ruby-ecomm-client/converter_spec.rb +0 -96
@@ -1,42 +1,51 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
- uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
6
- body:
7
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange TreeID='1737' ShopperID='922411'/&gt;</tns:AccountChangeXml><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
8
- headers:
9
- content-type:
5
+ uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.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="#Bonsai"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange
11
+ TreeID='2418' ShopperID='923518'/&gt;</tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
12
+ headers:
13
+ soapaction:
14
+ - ! '"#Bonsai/ChangeAccountRequest"'
15
+ content-type:
10
16
  - text/xml;charset=UTF-8
11
- content-length:
12
- - "696"
13
- accept:
14
- - "*/*"
15
- soapaction:
16
- - "\"#Bonsai/ChangeAccountRequest\""
17
- response:
18
- status:
17
+ content-length:
18
+ - '696'
19
+ accept:
20
+ - ! '*/*'
21
+ user-agent:
22
+ - Ruby
23
+ response:
24
+ status:
19
25
  code: 200
20
26
  message: OK
21
- headers:
22
- content-type:
23
- - text/xml; charset=utf-8
24
- content-length:
25
- - "407"
26
- x-aspnet-version:
27
- - 4.0.30319
28
- cache-control:
27
+ headers:
28
+ cache-control:
29
29
  - private, max-age=0
30
- server:
30
+ content-type:
31
+ - text/xml; charset=utf-8
32
+ server:
31
33
  - Microsoft-IIS/7.0
32
- date:
33
- - Fri, 28 Mar 2014 00:22:35 GMT
34
- connection:
35
- - close
36
- x-powered-by:
34
+ x-aspnet-version:
35
+ - 4.0.30319
36
+ x-powered-by:
37
37
  - ASP.NET
38
- body:
39
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse xmlns="#Bonsai"><ChangeAccountRequestResult>2</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
40
- http_version: "1.1"
41
- recorded_at: Fri, 28 Mar 2014 00:22:37 GMT
38
+ date:
39
+ - Fri, 18 Apr 2014 16:29:11 GMT
40
+ connection:
41
+ - close
42
+ content-length:
43
+ - '407'
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:Body><ChangeAccountRequestResponse
48
+ xmlns="#Bonsai"><ChangeAccountRequestResult>2</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 18 Apr 2014 16:30:10 GMT
42
51
  recorded_with: VCR 2.8.0
@@ -1,42 +1,51 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
- uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
6
- body:
7
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange TreeID='1735' ShopperID='922411'/&gt;</tns:AccountChangeXml><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
8
- headers:
9
- content-type:
5
+ uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.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="#Bonsai"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange
11
+ TreeID='2410' ShopperID='923518'/&gt;</tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
12
+ headers:
13
+ soapaction:
14
+ - ! '"#Bonsai/ChangeAccountRequest"'
15
+ content-type:
10
16
  - text/xml;charset=UTF-8
11
- content-length:
12
- - "696"
13
- accept:
14
- - "*/*"
15
- soapaction:
16
- - "\"#Bonsai/ChangeAccountRequest\""
17
- response:
18
- status:
17
+ content-length:
18
+ - '696'
19
+ accept:
20
+ - ! '*/*'
21
+ user-agent:
22
+ - Ruby
23
+ response:
24
+ status:
19
25
  code: 200
20
26
  message: OK
21
- headers:
22
- content-type:
23
- - text/xml; charset=utf-8
24
- content-length:
25
- - "407"
26
- x-aspnet-version:
27
- - 4.0.30319
28
- cache-control:
27
+ headers:
28
+ cache-control:
29
29
  - private, max-age=0
30
- server:
30
+ content-type:
31
+ - text/xml; charset=utf-8
32
+ server:
31
33
  - Microsoft-IIS/7.0
32
- date:
33
- - Fri, 28 Mar 2014 00:22:36 GMT
34
- connection:
35
- - close
36
- x-powered-by:
34
+ x-aspnet-version:
35
+ - 4.0.30319
36
+ x-powered-by:
37
37
  - ASP.NET
38
- body:
39
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse xmlns="#Bonsai"><ChangeAccountRequestResult>1</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
40
- http_version: "1.1"
41
- recorded_at: Fri, 28 Mar 2014 00:22:39 GMT
38
+ date:
39
+ - Fri, 18 Apr 2014 16:29:14 GMT
40
+ connection:
41
+ - close
42
+ content-length:
43
+ - '407'
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:Body><ChangeAccountRequestResponse
48
+ xmlns="#Bonsai"><ChangeAccountRequestResult>1</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 18 Apr 2014 16:30:13 GMT
42
51
  recorded_with: VCR 2.8.0
@@ -1,42 +1,51 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
- uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
6
- body:
7
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange TreeID='1737' ShopperID='922411'/&gt;</tns:AccountChangeXml><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceID>unknown</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
8
- headers:
9
- content-type:
5
+ uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.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="#Bonsai"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>unknown</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange
11
+ TreeID='2418' ShopperID='923518'/&gt;</tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
12
+ headers:
13
+ soapaction:
14
+ - ! '"#Bonsai/ChangeAccountRequest"'
15
+ content-type:
10
16
  - text/xml;charset=UTF-8
11
- content-length:
12
- - "667"
13
- accept:
14
- - "*/*"
15
- soapaction:
16
- - "\"#Bonsai/ChangeAccountRequest\""
17
- response:
18
- status:
17
+ content-length:
18
+ - '667'
19
+ accept:
20
+ - ! '*/*'
21
+ user-agent:
22
+ - Ruby
23
+ response:
24
+ status:
19
25
  code: 200
20
26
  message: OK
21
- headers:
22
- content-type:
23
- - text/xml; charset=utf-8
24
- content-length:
25
- - "411"
26
- x-aspnet-version:
27
- - 4.0.30319
28
- cache-control:
27
+ headers:
28
+ cache-control:
29
29
  - private, max-age=0
30
- server:
30
+ content-type:
31
+ - text/xml; charset=utf-8
32
+ server:
31
33
  - Microsoft-IIS/7.0
32
- date:
33
- - Fri, 28 Mar 2014 00:22:35 GMT
34
- connection:
35
- - close
36
- x-powered-by:
34
+ x-aspnet-version:
35
+ - 4.0.30319
36
+ x-powered-by:
37
37
  - ASP.NET
38
- body:
39
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-304</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
40
- http_version: "1.1"
41
- recorded_at: Fri, 28 Mar 2014 00:22:38 GMT
38
+ date:
39
+ - Fri, 18 Apr 2014 16:29:11 GMT
40
+ connection:
41
+ - close
42
+ content-length:
43
+ - '411'
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:Body><ChangeAccountRequestResponse
48
+ xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-304</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 18 Apr 2014 16:30:11 GMT
42
51
  recorded_with: VCR 2.8.0
@@ -1,42 +1,51 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
- uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
6
- body:
7
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange TreeID='1737' ShopperID='922411'/&gt;</tns:AccountChangeXml><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ResourceType>flugel</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
8
- headers:
9
- content-type:
5
+ uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.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="#Bonsai"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>flugel</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange
11
+ TreeID='2418' ShopperID='923518'/&gt;</tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
12
+ headers:
13
+ soapaction:
14
+ - ! '"#Bonsai/ChangeAccountRequest"'
15
+ content-type:
10
16
  - text/xml;charset=UTF-8
11
- content-length:
12
- - "694"
13
- accept:
14
- - "*/*"
15
- soapaction:
16
- - "\"#Bonsai/ChangeAccountRequest\""
17
- response:
18
- status:
17
+ content-length:
18
+ - '694'
19
+ accept:
20
+ - ! '*/*'
21
+ user-agent:
22
+ - Ruby
23
+ response:
24
+ status:
19
25
  code: 200
20
26
  message: OK
21
- headers:
22
- content-type:
23
- - text/xml; charset=utf-8
24
- content-length:
25
- - "411"
26
- x-aspnet-version:
27
- - 4.0.30319
28
- cache-control:
27
+ headers:
28
+ cache-control:
29
29
  - private, max-age=0
30
- server:
30
+ content-type:
31
+ - text/xml; charset=utf-8
32
+ server:
31
33
  - Microsoft-IIS/7.0
32
- date:
33
- - Fri, 28 Mar 2014 00:22:35 GMT
34
- connection:
35
- - close
36
- x-powered-by:
34
+ x-aspnet-version:
35
+ - 4.0.30319
36
+ x-powered-by:
37
37
  - ASP.NET
38
- body:
39
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-100</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
40
- http_version: "1.1"
41
- recorded_at: Fri, 28 Mar 2014 00:22:38 GMT
38
+ date:
39
+ - Fri, 18 Apr 2014 16:29:11 GMT
40
+ connection:
41
+ - close
42
+ content-length:
43
+ - '411'
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:Body><ChangeAccountRequestResponse
48
+ xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-100</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 18 Apr 2014 16:30:10 GMT
42
51
  recorded_with: VCR 2.8.0
@@ -1,42 +1,51 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
- uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
6
- body:
7
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange TreeID='73223' ShopperID='922411'/&gt;</tns:AccountChangeXml><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
8
- headers:
9
- content-type:
5
+ uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.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="#Bonsai"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml>&lt;itemRequest/&gt;</tns:ItemRequestXml><tns:AccountChangeXml>&lt;ClientChange
11
+ TreeID='73223' ShopperID='923518'/&gt;</tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
12
+ headers:
13
+ soapaction:
14
+ - ! '"#Bonsai/ChangeAccountRequest"'
15
+ content-type:
10
16
  - text/xml;charset=UTF-8
11
- content-length:
12
- - "697"
13
- accept:
14
- - "*/*"
15
- soapaction:
16
- - "\"#Bonsai/ChangeAccountRequest\""
17
- response:
18
- status:
17
+ content-length:
18
+ - '697'
19
+ accept:
20
+ - ! '*/*'
21
+ user-agent:
22
+ - Ruby
23
+ response:
24
+ status:
19
25
  code: 200
20
26
  message: OK
21
- headers:
22
- content-type:
23
- - text/xml; charset=utf-8
24
- content-length:
25
- - "411"
26
- x-aspnet-version:
27
- - 4.0.30319
28
- cache-control:
27
+ headers:
28
+ cache-control:
29
29
  - private, max-age=0
30
- server:
30
+ content-type:
31
+ - text/xml; charset=utf-8
32
+ server:
31
33
  - Microsoft-IIS/7.0
32
- date:
33
- - Fri, 28 Mar 2014 00:22:36 GMT
34
- connection:
35
- - close
36
- x-powered-by:
34
+ x-aspnet-version:
35
+ - 4.0.30319
36
+ x-powered-by:
37
37
  - ASP.NET
38
- body:
39
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-999</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
40
- http_version: "1.1"
41
- recorded_at: Fri, 28 Mar 2014 00:22:39 GMT
38
+ date:
39
+ - Fri, 18 Apr 2014 16:29:13 GMT
40
+ connection:
41
+ - close
42
+ content-length:
43
+ - '411'
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:Body><ChangeAccountRequestResponse
48
+ xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-999</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 18 Apr 2014 16:30:11 GMT
42
51
  recorded_with: VCR 2.8.0
@@ -1,42 +1,50 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: post
5
- uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
6
- body:
7
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:GetAccountXml><tns:IDType>ORION</tns:IDType><tns:PrivateLabelID>1</tns:PrivateLabelID><tns:ResourceType>outright</tns:ResourceType><tns:TreeID>87563</tns:TreeID><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID></tns:GetAccountXml></env:Body></env:Envelope>
8
- headers:
9
- content-type:
5
+ uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.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="#Bonsai"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:GetAccountXml><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:TreeID>87563</tns:TreeID><tns:PrivateLabelID>1</tns:PrivateLabelID></tns:GetAccountXml></env:Body></env:Envelope>
11
+ headers:
12
+ soapaction:
13
+ - ! '"#Bonsai/GetAccountXml"'
14
+ content-type:
10
15
  - text/xml;charset=UTF-8
11
- content-length:
12
- - "516"
13
- accept:
14
- - "*/*"
15
- soapaction:
16
- - "\"#Bonsai/GetAccountXml\""
17
- response:
18
- status:
16
+ content-length:
17
+ - '516'
18
+ accept:
19
+ - ! '*/*'
20
+ user-agent:
21
+ - Ruby
22
+ response:
23
+ status:
19
24
  code: 200
20
25
  message: OK
21
- headers:
22
- content-type:
23
- - text/xml; charset=utf-8
24
- content-length:
25
- - "338"
26
- x-aspnet-version:
27
- - 4.0.30319
28
- cache-control:
26
+ headers:
27
+ cache-control:
29
28
  - private, max-age=0
30
- server:
29
+ content-type:
30
+ - text/xml; charset=utf-8
31
+ server:
31
32
  - Microsoft-IIS/7.0
32
- date:
33
- - Fri, 28 Mar 2014 00:22:32 GMT
34
- connection:
35
- - close
36
- x-powered-by:
33
+ x-aspnet-version:
34
+ - 4.0.30319
35
+ x-powered-by:
37
36
  - ASP.NET
38
- body:
39
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetAccountXmlResponse xmlns="#Bonsai"><ResultCode>-999</ResultCode></GetAccountXmlResponse></soap:Body></soap:Envelope>
40
- http_version: "1.1"
41
- recorded_at: Fri, 28 Mar 2014 00:22:35 GMT
37
+ date:
38
+ - Fri, 18 Apr 2014 16:29:06 GMT
39
+ connection:
40
+ - close
41
+ content-length:
42
+ - '338'
43
+ body:
44
+ encoding: US-ASCII
45
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
46
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetAccountXmlResponse
47
+ xmlns="#Bonsai"><ResultCode>-999</ResultCode></GetAccountXmlResponse></soap:Body></soap:Envelope>
48
+ http_version: '1.1'
49
+ recorded_at: Fri, 18 Apr 2014 16:30:05 GMT
42
50
  recorded_with: VCR 2.8.0