ruby-ecomm-client 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -2
- data/README.md +3 -7
- data/fixtures/vcr_cassettes/account_info/default.yml +22 -22
- data/fixtures/vcr_cassettes/account_info/unknown/resource_id.yml +21 -21
- data/fixtures/vcr_cassettes/account_info/unknown/resource_type.yml +21 -21
- data/fixtures/vcr_cassettes/account_info/unknown/source_tree_id.yml +21 -21
- data/fixtures/vcr_cassettes/express_checkout/configured.yml +17 -17
- data/fixtures/vcr_cassettes/express_checkout/unknown.yml +17 -17
- data/fixtures/vcr_cassettes/request_change/express/downgrade/default.yml +44 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/noop.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/target_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/default.yml +44 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/noop.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/target_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/default.yml +18 -18
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/noop.yml +17 -17
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/unknown/resource_id.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/downgrade}/unknown/resource_type.yml +17 -17
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/unknown/target_tree_id.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/default.yml +18 -18
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/noop.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/unknown/resource_id.yml +17 -17
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/upgrade}/unknown/resource_type.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/unknown/target_tree_id.yml +17 -17
- data/fixtures/vcr_cassettes/transitions/default/unknown/source_tree_id.yml +13 -13
- data/fixtures/vcr_cassettes/transitions/many.yml +14 -14
- data/fixtures/vcr_cassettes/transitions/one.yml +14 -14
- data/lib/ruby-ecomm-client/client.rb +61 -21
- data/lib/ruby-ecomm-client/version.rb +1 -1
- data/spec/ruby-ecomm-client/client_spec.rb +203 -82
- data/spec/spec_helper.rb +2 -0
- metadata +24 -15
- data/fixtures/vcr_cassettes/transitions/unknown/source_tree_id.yml +0 -42
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1735' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "696"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "696"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "407"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:40 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:26 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "407"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:43 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/unknown/resource_id.yml
RENAMED
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1736' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "667"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "667"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "411"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:38 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:25 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "411"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:41 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
data/fixtures/vcr_cassettes/{upgrade → request_change/manager/downgrade}/unknown/resource_type.yml
RENAMED
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1736' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "694"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "694"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "411"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:38 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:23 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "411"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:41 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='73541' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "697"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "697"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "411"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:40 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:25 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "411"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:42 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
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:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1737' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
content-length:
|
11
|
-
- "696"
|
12
|
-
soapaction:
|
13
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
14
9
|
content-type:
|
15
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "696"
|
16
13
|
accept:
|
17
14
|
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
x-powered-by:
|
26
|
-
- ASP.NET
|
27
|
-
x-aspnet-version:
|
28
|
-
- 4.0.30319
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
29
24
|
content-length:
|
30
25
|
- "407"
|
31
|
-
|
32
|
-
-
|
26
|
+
x-aspnet-version:
|
27
|
+
- 4.0.30319
|
33
28
|
cache-control:
|
34
29
|
- private, max-age=0
|
35
|
-
|
36
|
-
-
|
30
|
+
server:
|
31
|
+
- Microsoft-IIS/7.0
|
37
32
|
date:
|
38
|
-
-
|
33
|
+
- Fri, 28 Mar 2014 00:22:35 GMT
|
34
|
+
connection:
|
35
|
+
- close
|
36
|
+
x-powered-by:
|
37
|
+
- ASP.NET
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:37 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1735' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "696"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "696"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "407"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:36 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:23 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "407"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:39 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/unknown/resource_id.yml
RENAMED
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1737' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "667"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "667"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "411"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:35 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:23 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "411"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:38 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
data/fixtures/vcr_cassettes/{downgrade → request_change/manager/upgrade}/unknown/resource_type.yml
RENAMED
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:
|
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><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1737' ShopperID='922411'/></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>
|
9
8
|
headers:
|
10
|
-
soapaction:
|
11
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
-
accept:
|
13
|
-
- "*/*"
|
14
|
-
content-length:
|
15
|
-
- "694"
|
16
9
|
content-type:
|
17
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "694"
|
13
|
+
accept:
|
14
|
+
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
content-length:
|
25
|
+
- "411"
|
23
26
|
x-aspnet-version:
|
24
27
|
- 4.0.30319
|
28
|
+
cache-control:
|
29
|
+
- private, max-age=0
|
25
30
|
server:
|
26
31
|
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Fri, 28 Mar 2014 00:22:35 GMT
|
27
34
|
connection:
|
28
35
|
- close
|
29
|
-
date:
|
30
|
-
- Wed, 26 Mar 2014 03:26:25 GMT
|
31
|
-
cache-control:
|
32
|
-
- private, max-age=0
|
33
|
-
content-length:
|
34
|
-
- "411"
|
35
36
|
x-powered-by:
|
36
37
|
- ASP.NET
|
37
|
-
content-type:
|
38
|
-
- text/xml; charset=utf-8
|
39
38
|
body:
|
40
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>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:38 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|