gmo 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/LICENSE +22 -0
  2. data/README.ja.md +1 -3
  3. data/README.md +1 -3
  4. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_change_order_auth_to_sale.yml +15 -15
  5. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_gets_data_about_order.yml +15 -15
  6. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_got_error_if_missing_options.yml +3 -3
  7. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_gets_data_about_order.yml +15 -15
  8. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_got_error_if_missing_options.yml +3 -3
  9. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_gets_data_about_a_transaction.yml +6 -6
  10. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_got_error_if_missing_options.yml +5 -5
  11. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml +35 -6
  12. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_got_error_if_missing_options.yml +5 -5
  13. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_gets_data_about_order.yml +5 -5
  14. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_got_error_if_missing_options.yml +3 -3
  15. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_gets_data_about_order.yml +7 -9
  16. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_got_error_if_missing_options.yml +5 -7
  17. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_error_if_missing_options.yml +3 -3
  18. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_card_gets_data_about_a_card.yml +6 -8
  19. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_member_gets_data_about_a_member.yml +35 -8
  20. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_gets_data_about_a_card.yml +6 -8
  21. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_gets_data_about_a_transaction.yml +6 -6
  22. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_gets_data_about_a_card.yml +12 -16
  23. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_member_gets_data_about_a_member.yml +14 -18
  24. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_update_member_gets_data_about_a_transaction.yml +5 -5
  25. data/gmo.gemspec +1 -1
  26. data/lib/gmo.rb +3 -7
  27. data/lib/gmo/http_services.rb +1 -1
  28. data/lib/gmo/shop_and_site_api.rb +8 -8
  29. data/lib/gmo/shop_api.rb +7 -7
  30. data/lib/gmo/site_api.rb +7 -7
  31. data/lib/gmo/version.rb +1 -1
  32. data/spec/gmo/http_service_spec.rb +2 -7
  33. data/spec/gmo/shop_and_site_api_spec.rb +6 -1
  34. data/spec/gmo/shop_api_spec.rb +28 -10
  35. data/spec/gmo/site_api_spec.rb +24 -13
  36. data/spec/support/config.example.yml +2 -1
  37. data/spec/support/config.yml +2 -1
  38. data/spec/support/factory.rb +4 -0
  39. data/spec/support/vcr.rb +1 -0
  40. data/travis.yml +1 -0
  41. metadata +6 -6
  42. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_got_error_if_missing_options.yml +0 -32
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/ExecTran.idPass
5
+ uri: https://<HOST>/payment/ExecTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: AccessID=null&AccessPass=null&OrderID=null&Method=null&PayTimes=null&CardNo=null&Expire=null&HttpAccept=null&HttpUserAgent=null&DeviceCategory=0&ClientField1=null&ClientField2=null&ClientField3=null&ClientFieldFlag=0&ShopID=1&ShopPass=1
8
+ string: AccessID=null&AccessPass=null&OrderID=null&Method=null&PayTimes=null&CardNo=null&Expire=null&HttpAccept=null&HttpUserAgent=null&DeviceCategory=0&ClientField1=null&ClientField2=null&ClientField3=null&ClientFieldFlag=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sat, 16 Feb 2013 04:47:14 GMT
20
+ - Fri, 01 Mar 2013 02:59:33 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -27,6 +27,6 @@ http_interactions:
27
27
  body:
28
28
  encoding: US-ASCII
29
29
  string: ErrCode=E01|E01|E01|E01|E01|E01&ErrInfo=E01090008|E01100008|E01110002|E01170011|E01170006|E01180006
30
- http_version:
31
- recorded_at: Sat, 16 Feb 2013 04:47:14 GMT
30
+ http_version:
31
+ recorded_at: Fri, 01 Mar 2013 02:59:33 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SearchTrade.idPass
5
+ uri: https://<HOST>/payment/SearchTrade.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=1003&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=1362106772&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:33:03 GMT
20
+ - Fri, 01 Mar 2013 02:59:39 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,7 +26,7 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: OrderID=1003&Status=AUTH&ProcessDate=20130217162936&JobCd=AUTH&AccessID=781aaf3823503b49950d7da8952bd50f&AccessPass=e12780a4480ddde5b4e9e054759ee327&ItemCode=0000990&Amount=1000&Tax=0&SiteID=&MemberID=&CardNo=************1111&Expire=1405&Method=1&PayTimes=&Forward=2a99662&TranID=1302171629111111111111197575&Approve=6299693&ClientField1=null&ClientField2=null&ClientField3=null
29
+ string: OrderID=1362106772&Status=UNPROCESSED&ProcessDate=20130301115932&JobCd=AUTH&AccessID=3618be802c7ac572414274731e50cb6c&AccessPass=4099664bd4b110800e09805539d1d7b5&ItemCode=0000990&Amount=100&Tax=0&SiteID=&MemberID=&CardNo=&Expire=&Method=&PayTimes=&Forward=&TranID=&Approve=&ClientField1=&ClientField2=&ClientField3=
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:33:03 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:40 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SearchTradeMulti.idPass
5
+ uri: https://<HOST>/payment/SearchTradeMulti.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: OrderID=null&PayType=null&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:33:04 GMT
20
+ - Fri, 01 Mar 2013 02:59:40 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -28,5 +28,5 @@ http_interactions:
28
28
  encoding: US-ASCII
29
29
  string: ErrCode=M01|M01|M01&ErrInfo=M01051005|M01051011|M01004002
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:33:04 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:40 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SearchTradeMulti.idPass
5
+ uri: https://<HOST>/payment/SearchTradeMulti.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=100&PayType=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=1362106772&PayType=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
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:
@@ -19,7 +17,7 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sun, 17 Feb 2013 05:57:06 GMT
20
+ - Fri, 01 Mar 2013 02:59:40 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
@@ -27,8 +25,8 @@ http_interactions:
27
25
  Transfer-Encoding:
28
26
  - chunked
29
27
  body:
30
- encoding: UTF-8
31
- string: Status=AUTH&ProcessDate=20130216054346&JobCd=AUTH&AccessID=a41d83f1f4c908baeda04e6dc03e300c&AccessPass=d72eca02e28c88f98b9341a33ba46d5d&ItemCode=0000990&Amount=100&Tax=0&SiteID=&MemberID=&CardNo=************1111&Expire=1405&Method=1&PayTimes=&Forward=2a99662&TranID=1302160543111111111111192829&Approve=6294780&ClientField1=client_field1&ClientField2=&ClientField3=&PayType=0&CvsCode=&CvsConfNo=&CvsReceiptNo=&EdyReceiptNo=&EdyOrderNo=&SuicaOrderNo=&SuicaReceiptNo=&CustID=&BkCode=&ConfNo=&EncryptReceiptNo=&PaymentTerm=&WebMoneyManagementNo=&WebMoneySettleCode=&AuPayInfoNo=&AuPayMethod=&AuCancelAmount=&AuCancelTax=&DocomoSettlementCode=&DocomoCancelAmount=&DocomoCancelTax=&SbTrackingId=&SbCancelAmount=&SbCancelTax=&Currency=JPN
28
+ encoding: US-ASCII
29
+ string: Status=UNPROCESSED&ProcessDate=20130301115932&JobCd=AUTH&AccessID=3618be802c7ac572414274731e50cb6c&AccessPass=4099664bd4b110800e09805539d1d7b5&ItemCode=0000990&Amount=100&Tax=0&SiteID=&MemberID=&CardNo=&Expire=&Method=&PayTimes=&Forward=&TranID=&Approve=&ClientField1=&ClientField2=&ClientField3=&PayType=0&CvsCode=&CvsConfNo=&CvsReceiptNo=&EdyReceiptNo=&EdyOrderNo=&SuicaOrderNo=&SuicaReceiptNo=&CustID=&BkCode=&ConfNo=&EncryptReceiptNo=&PaymentTerm=&WebMoneyManagementNo=&WebMoneySettleCode=&AuPayInfoNo=&AuPayMethod=&AuCancelAmount=&AuCancelTax=&DocomoSettlementCode=&DocomoCancelAmount=&DocomoCancelTax=&SbTrackingId=&SbCancelAmount=&SbCancelTax=&Currency=JPN
32
30
  http_version:
33
- recorded_at: Sun, 17 Feb 2013 05:57:06 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:40 GMT
34
32
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SearchTradeMulti.idPass
5
+ uri: https://<HOST>/payment/SearchTradeMulti.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: OrderID=null&PayType=null&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
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:
@@ -19,7 +17,7 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sun, 17 Feb 2013 05:58:15 GMT
20
+ - Fri, 01 Mar 2013 02:59:40 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
@@ -27,8 +25,8 @@ http_interactions:
27
25
  Transfer-Encoding:
28
26
  - chunked
29
27
  body:
30
- encoding: UTF-8
28
+ encoding: US-ASCII
31
29
  string: ErrCode=M01|M01|M01&ErrInfo=M01051005|M01051011|M01004002
32
30
  http_version:
33
- recorded_at: Sun, 17 Feb 2013 05:58:16 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:40 GMT
34
32
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/TradedCard.idPass
5
+ uri: https://<HOST>/payment/TradedCard.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: OrderID=null&MemberID=null&SeqMode=0&DefaultFlag=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 13:34:26 GMT
20
+ - Fri, 01 Mar 2013 02:59:32 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -28,5 +28,5 @@ http_interactions:
28
28
  encoding: US-ASCII
29
29
  string: ErrCode=E01&ErrInfo=E01110002
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 13:34:26 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:32 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/DeleteCard.idPass
5
+ uri: https://<HOST>/payment/DeleteCard.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: MemberID=101&CardSeq=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
8
+ string: MemberID=1362106780&CardSeq=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
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:
@@ -19,7 +17,7 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sat, 16 Feb 2013 07:07:03 GMT
20
+ - Fri, 01 Mar 2013 02:59:42 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
@@ -27,8 +25,8 @@ http_interactions:
27
25
  Transfer-Encoding:
28
26
  - chunked
29
27
  body:
30
- encoding: UTF-8
28
+ encoding: US-ASCII
31
29
  string: CardSeq=0
32
30
  http_version:
33
- recorded_at: Sat, 16 Feb 2013 07:07:02 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:42 GMT
34
32
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/DeleteMember.idPass
5
+ uri: https://<HOST>/payment/SaveMember.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: MemberID=100&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
8
+ string: MemberID=1362106781&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
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:
@@ -19,16 +17,45 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sat, 16 Feb 2013 06:51:37 GMT
20
+ - Fri, 01 Mar 2013 02:59:41 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
26
24
  - text/plain;charset=Windows-31J
27
25
  Transfer-Encoding:
28
26
  - chunked
27
+ body:
28
+ encoding: US-ASCII
29
+ string: MemberID=1362106781
30
+ http_version:
31
+ recorded_at: Fri, 01 Mar 2013 02:59:41 GMT
32
+ - request:
33
+ method: post
34
+ uri: https://<HOST>/payment/DeleteMember.idPass
29
35
  body:
30
36
  encoding: UTF-8
31
- string: MemberID=100
37
+ string: MemberID=1362106781&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
38
+ headers:
39
+ Accept:
40
+ - ! '*/*'
41
+ User-Agent:
42
+ - Ruby
43
+ response:
44
+ status:
45
+ code: 200
46
+ message: OK
47
+ headers:
48
+ Date:
49
+ - Fri, 01 Mar 2013 02:59:41 GMT
50
+ Connection:
51
+ - close
52
+ Content-Type:
53
+ - text/plain;charset=Windows-31J
54
+ Transfer-Encoding:
55
+ - chunked
56
+ body:
57
+ encoding: US-ASCII
58
+ string: MemberID=1362106781
32
59
  http_version:
33
- recorded_at: Sat, 16 Feb 2013 06:51:36 GMT
60
+ recorded_at: Fri, 01 Mar 2013 02:59:41 GMT
34
61
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SaveCard.idPass
5
+ uri: https://<HOST>/payment/SaveCard.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: MemberID=101&CardNo=4111111111111111&Expire=1405&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
8
+ string: MemberID=1362106780&CardNo=4111111111111111&Expire=1405&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
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:
@@ -19,7 +17,7 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sat, 16 Feb 2013 07:04:21 GMT
20
+ - Fri, 01 Mar 2013 02:59:42 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
@@ -27,8 +25,8 @@ http_interactions:
27
25
  Transfer-Encoding:
28
26
  - chunked
29
27
  body:
30
- encoding: UTF-8
28
+ encoding: US-ASCII
31
29
  string: CardSeq=0&CardNo=*************111&Forward=2a99662
32
30
  http_version:
33
- recorded_at: Sat, 16 Feb 2013 07:04:21 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:42 GMT
34
32
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SaveMember.idPass
5
+ uri: https://<HOST>/payment/SaveMember.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: MemberID=100&MemberName=John+Smith&SiteID=tsite1&SitePass=1
8
+ string: MemberID=1362106780&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sat, 16 Feb 2013 04:56:31 GMT
20
+ - Fri, 01 Mar 2013 02:59:40 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,7 +26,7 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: MemberID=100
30
- http_version:
31
- recorded_at: Sat, 16 Feb 2013 04:56:31 GMT
29
+ string: MemberID=1362106780
30
+ http_version:
31
+ recorded_at: Fri, 01 Mar 2013 02:59:40 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SaveCard.idPass
5
+ uri: https://<HOST>/payment/SaveCard.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: MemberID=101&CardNo=4111111111111111&Expire=1405&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
8
+ string: MemberID=1362106780&CardNo=4111111111111111&Expire=1405&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
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:
@@ -19,7 +17,7 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sat, 16 Feb 2013 07:09:34 GMT
20
+ - Fri, 01 Mar 2013 02:59:42 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
@@ -27,21 +25,19 @@ http_interactions:
27
25
  Transfer-Encoding:
28
26
  - chunked
29
27
  body:
30
- encoding: UTF-8
28
+ encoding: US-ASCII
31
29
  string: CardSeq=0&CardNo=*************111&Forward=2a99662
32
30
  http_version:
33
- recorded_at: Sat, 16 Feb 2013 07:09:34 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:43 GMT
34
32
  - request:
35
33
  method: post
36
- uri: https://pt01.mul-pay.jp/payment/SearchCard.idPass
34
+ uri: https://<HOST>/payment/SearchCard.idPass
37
35
  body:
38
36
  encoding: UTF-8
39
- string: MemberID=101&CardSeq=0&SeqMode=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
37
+ string: MemberID=1362106780&CardSeq=0&SeqMode=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
40
38
  headers:
41
- Accept-Encoding:
42
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
43
39
  Accept:
44
- - '*/*'
40
+ - ! '*/*'
45
41
  User-Agent:
46
42
  - Ruby
47
43
  response:
@@ -50,7 +46,7 @@ http_interactions:
50
46
  message: OK
51
47
  headers:
52
48
  Date:
53
- - Sat, 16 Feb 2013 07:09:34 GMT
49
+ - Fri, 01 Mar 2013 02:59:43 GMT
54
50
  Connection:
55
51
  - close
56
52
  Content-Type:
@@ -58,8 +54,8 @@ http_interactions:
58
54
  Transfer-Encoding:
59
55
  - chunked
60
56
  body:
61
- encoding: UTF-8
57
+ encoding: US-ASCII
62
58
  string: CardSeq=0&DefaultFlag=0&CardName=&CardNo=*************111&Expire=1405&HolderName=&DeleteFlag=0
63
59
  http_version:
64
- recorded_at: Sat, 16 Feb 2013 07:09:34 GMT
60
+ recorded_at: Fri, 01 Mar 2013 02:59:43 GMT
65
61
  recorded_with: VCR 2.4.0
@@ -2,15 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SaveMember.idPass
5
+ uri: https://<HOST>/payment/SaveMember.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: MemberID=101&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
8
+ string: MemberID=1362106992&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
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:
@@ -19,7 +17,7 @@ http_interactions:
19
17
  message: OK
20
18
  headers:
21
19
  Date:
22
- - Sat, 16 Feb 2013 06:55:41 GMT
20
+ - Fri, 01 Mar 2013 03:03:12 GMT
23
21
  Connection:
24
22
  - close
25
23
  Content-Type:
@@ -27,21 +25,19 @@ http_interactions:
27
25
  Transfer-Encoding:
28
26
  - chunked
29
27
  body:
30
- encoding: UTF-8
31
- string: MemberID=101
28
+ encoding: US-ASCII
29
+ string: MemberID=1362106992
32
30
  http_version:
33
- recorded_at: Sat, 16 Feb 2013 06:55:41 GMT
31
+ recorded_at: Fri, 01 Mar 2013 03:03:12 GMT
34
32
  - request:
35
33
  method: post
36
- uri: https://pt01.mul-pay.jp/payment/SearchMember.idPass
34
+ uri: https://<HOST>/payment/SearchMember.idPass
37
35
  body:
38
36
  encoding: UTF-8
39
- string: MemberID=101&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
37
+ string: MemberID=1362106992&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
40
38
  headers:
41
- Accept-Encoding:
42
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
43
39
  Accept:
44
- - '*/*'
40
+ - ! '*/*'
45
41
  User-Agent:
46
42
  - Ruby
47
43
  response:
@@ -50,7 +46,7 @@ http_interactions:
50
46
  message: OK
51
47
  headers:
52
48
  Date:
53
- - Sat, 16 Feb 2013 06:55:42 GMT
49
+ - Fri, 01 Mar 2013 03:03:12 GMT
54
50
  Connection:
55
51
  - close
56
52
  Content-Type:
@@ -58,8 +54,8 @@ http_interactions:
58
54
  Transfer-Encoding:
59
55
  - chunked
60
56
  body:
61
- encoding: UTF-8
62
- string: MemberID=101&MemberName=John Smith&DeleteFlag=0
57
+ encoding: US-ASCII
58
+ string: MemberID=1362106992&MemberName=John Smith&DeleteFlag=0
63
59
  http_version:
64
- recorded_at: Sat, 16 Feb 2013 06:55:41 GMT
60
+ recorded_at: Fri, 01 Mar 2013 03:03:13 GMT
65
61
  recorded_with: VCR 2.4.0