gmo 0.2.5 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +10 -6
  3. data/CHANGELOG.md +42 -1
  4. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_deposit_gets_data_about_a_deposit.yml +38 -0
  5. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_mail_deposit_gets_data_about_a_mail_deposit.yml +38 -0
  6. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_account_gets_data_about_an_account.yml +38 -0
  7. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_deposit_gets_data_about_a_deposit.yml +38 -0
  8. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_gets_data_about_a_mail_deposit.yml +38 -0
  9. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_delete_account_gets_data_about_an_account.yml +38 -0
  10. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_account_gets_data_about_an_account.yml +38 -0
  11. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_balance_gets_data_about_balance.yml +38 -0
  12. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_deposit_gets_data_about_a_deposit.yml +38 -0
  13. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_mail_deposit_gets_data_about_a_mail_deposit.yml +38 -0
  14. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_update_account_gets_data_about_an_account.yml +38 -0
  15. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_brandtoken_gets_data_about_order.yml +108 -0
  16. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml +63 -0
  17. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_brandtoken_gets_data_about_a_transaction.yml +38 -0
  18. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_linepay_gets_data_about_a_transaction.yml +36 -0
  19. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_gets_data_about_a_transaction.yml +73 -0
  20. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +73 -0
  21. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_doesn_t_require_card_info_if_token_is_present.yml +69 -0
  22. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml +69 -0
  23. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_refund_tran_brandtoken_gets_data_about_a_transaction.yml +108 -0
  24. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_sales_tran_brandtoken_gets_data_about_a_transaction.yml +143 -0
  25. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml +108 -0
  26. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_exec_tran_brandtoken_got_data.yml +73 -0
  27. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_brandtoken_got_data.yml +108 -0
  28. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_brandtoken_gets_data_about_a_brandtoken.yml +73 -0
  29. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_doesn_t_require_card_info_if_token_is_present.yml +36 -0
  30. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_brandtoken_gets_data_about_a_brandtoken.yml +74 -0
  31. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_detail_by_member_id_gets_data_about_card_detail.yml +36 -0
  32. data/gmo.gemspec +1 -1
  33. data/lib/gmo.rb +6 -1
  34. data/lib/gmo/const.rb +2500 -3
  35. data/lib/gmo/errors.rb +22 -4
  36. data/lib/gmo/http_services.rb +5 -5
  37. data/lib/gmo/remittance_api.rb +331 -0
  38. data/lib/gmo/shop_and_site_api.rb +79 -5
  39. data/lib/gmo/shop_api.rb +262 -10
  40. data/lib/gmo/site_api.rb +77 -7
  41. data/lib/gmo/version.rb +2 -2
  42. data/spec/gmo/{error_spec.rb → errors_spec.rb} +11 -2
  43. data/spec/gmo/remittance_api_spec.rb +506 -0
  44. data/spec/gmo/shop_and_site_api_spec.rb +87 -7
  45. data/spec/gmo/shop_api_spec.rb +464 -109
  46. data/spec/gmo/site_api_spec.rb +120 -23
  47. data/spec/support/config.example.yml +8 -1
  48. data/spec/support/config.yml +8 -1
  49. data/spec/support/config_loader.rb +1 -1
  50. data/spec/support/vcr.rb +12 -3
  51. metadata +40 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e849a1f54798b48c6c680c96828ac28869814b76
4
- data.tar.gz: 2d95146139b5bd709188dbb6b7e3033beae8228d
2
+ SHA256:
3
+ metadata.gz: a32ab8f4bc845c8a87aefc7a9df5baddfba9f6123990145712e63b03d2ebaa19
4
+ data.tar.gz: bea8891e397aa236eb65b9ae49be7a0e6b459b10f59ff48ade2f526dbbd469df
5
5
  SHA512:
6
- metadata.gz: 7cedd9430dad9205407779eb4d76104e8a103d0a2e90e2cfe51a0b42ee5566b293121298b9c9f9919d6d2ebae4ea500a08c6fb2eff83a9afb0d77abe7b26ca6e
7
- data.tar.gz: a9def24ae84bffa4949c9e826ac62502156b9b72109d2042b80d769d668c8a6c49a26e4464d86227e902b9a88ddae3babfd6da433a2beef8ca82b23f45e81e60
6
+ metadata.gz: 1a3a0c7d20fb389436d2c328e54dea10645ca59fb08b94732d40655642b41f9a9dd823a492e080ef34c3c627f6891ec210e1dd4f8ceaa23212cfb6e76ca849b0
7
+ data.tar.gz: 44d69abc8b66d074f44dcb10807d9f17661c7ac8900a7732567c3b782a69bd10e4e8ff30b358a7cdb12a66652f45327d3af680d6fdc81242bff5fd90f9b26710
@@ -1,15 +1,20 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 1.9.2
5
- - rbx-2.1.1
6
3
  - ruby-head
7
4
  - 1.8.7
8
- - 2.0.0
9
- - 2.1.0
5
+ - 2.0
6
+ - 2.1
7
+ - 2.2
8
+ - 2.3
9
+ - 2.4
10
+ - 2.5
11
+ - 2.6
12
+ - 2.7
10
13
  - jruby-18mode
11
14
  - jruby-19mode
12
15
  - jruby-head
16
+ before_install:
17
+ - gem update bundler
13
18
  matrix:
14
19
  allow_failures:
15
20
  - rvm: ruby-head
@@ -17,4 +22,3 @@ matrix:
17
22
  - rvm: jruby-19mode
18
23
  - rvm: jruby-head
19
24
  - rvm: 1.8.7
20
- - rvm: rbx-2.1.1
@@ -1,5 +1,46 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.5.1
4
+ * Add more error codes [#37](https://github.com/t-k/gmo-payment-ruby/pull/37) (Thanks [@jagdeepsingh](https://github.com/jagdeepsingh))
5
+
6
+ ## 0.5.0
7
+ * Support CvsCancel API [#34](https://github.com/t-k/gmo-payment-ruby/pull/34) (Thanks [@mogulla3](https://github.com/mogulla3 ))
8
+ * Fix typo [#29](https://github.com/t-k/gmo-payment-ruby/pull/29) (Thanks [@nishio-dens](https://github.com/nishio-dens))
9
+ * Support PaymentType of INPUT_PARAMS [#28](https://github.com/t-k/gmo-payment-ruby/pull/28) (Thanks [@johnny-miyake](https://github.com/johnny-miyake))
10
+
11
+ ## 0.4.0
12
+
13
+ * Multipayment API
14
+ * Add end points to manage brandtoken [#22](https://github.com/t-k/gmo-payment-ruby/pull/22) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
15
+ * Add end points to make payments and refunds using brandtoken [#22](https://github.com/t-k/gmo-payment-ruby/pull/22) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
16
+
17
+ * RemittanceAPI
18
+ * Add support to register payment accounts [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
19
+ * Add support to register deposits [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
20
+ * Add support to register mail deposits [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
21
+
22
+ * Add error messages to GMO API response along with error code and info [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
23
+
24
+ * SiteAPI
25
+ * Add support to search card detail by member_id [#21](https://github.com/t-k/gmo-payment-ruby/pull/21) (Thanks [@tkiha](https://github.com/tkiha))
26
+
27
+ * ShopAPI
28
+ * Add token payment support #23 (Thanks @k0uki)
29
+
30
+ ## 0.3.0
31
+ * ShopAPI
32
+ * Support LINE Pay payment #13 (Thanks @ryooob)
33
+
34
+ ShopAPI#entry_tran_linepay, ShopAPI#exec_tran_linepay were added
35
+ * Update required item on ShopAPI#exec_tran_cvs #15 (Thanks @pyonnuka)
36
+ * SiteAPI
37
+ * card_no and expire are not required for save_card if a token is used #17 (Thanks @mcfiredrill)
38
+ * Testing
39
+ * fix Spec and upgrade RSpec to v3 #14, #16, #18, #19 (Thanks @htz @cameluby @kazuooooo @mcfiredrill)
40
+
41
+ ## 0.2.6
42
+ * Fixes several Ruby warnings #8 (Thanks @amatsuda)
43
+
3
44
  ## 0.2.5
4
45
  * Support Pay-easy payment #7 (Thanks @ryooob)
5
46
 
@@ -22,4 +63,4 @@
22
63
 
23
64
  * Use https scheme for rubygems source
24
65
  * Add support for required fields validation
25
- * Adds pay-by-Konbini support (Thanks @keichan34)
66
+ * Adds pay-by-Konbini support (Thanks @keichan34)
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/DepositRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Bank_ID=bank0000<SHOP_PASS>&Deposit_ID=dep0000<SHOP_PASS>&Method=2&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:24 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Deposit_ID=dep00001&Bank_ID=bank00001&Method=2
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:24 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/MailDepositRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Deposit_ID=dep0000<SHOP_PASS>&Method=2&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:28 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Deposit_ID=dep00001&Method=2
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:28 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/AccountRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Bank_ID=bank0000<SHOP_PASS>&Bank_Code=000<SHOP_PASS>&Branch_Code=8<SHOP_PASS>3&Account_Type=<SHOP_PASS>&Account_Name=An+Yutzy&Account_Number=00<SHOP_PASS>2345&Branch_Code_Jpbank=00567&Account_Number_Jpbank=0<SHOP_PASS>234567&Free=foobar&Method=<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:<SHOP_PASS>8 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Bank_ID=bank00001&Method=1
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:18 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/DepositRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Bank_ID=bank0000<SHOP_PASS>&Deposit_ID=dep0000<SHOP_PASS>&Amount=<SHOP_PASS>000&Method=<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:22 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Deposit_ID=dep00000&Bank_ID=bank00000&Method=1&Amount=1000&Bank_Fee=27
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:23 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/MailDepositRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Deposit_ID=dep0000<SHOP_PASS>&Mail_Address=anyutzy%40demo.com&Amount=<SHOP_PASS>000&Mail_Deposit_Account_Name=An+Yutzy&Expire=5&Shop_Mail_Address=anyutzy%40demo.com&Method=<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:27 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Deposit_ID=dep00001&Method=1&Amount=1000&Expire=20170503
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:27 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/AccountRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Bank_ID=bank0000<SHOP_PASS>&Method=3&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:20 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Bank_ID=bank00001&Method=3
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:20 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/AccountSearch.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Bank_ID=bank0000<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:2<SHOP_PASS> GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Bank_ID=bank12345&Delete_Flag=0&Bank_Name=みずほ銀行&Bank_Code=0001&Branch_Name=札幌支店&Branch_Code=813&Account_Type=1&Account_Number=0012345&Account_Name=An Yutzy&Free=&Branch_Code_Jpbank=&Account_Number_Jpbank=
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:21 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/BalanceSearch.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:26 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Shop_ID=rshop00000071&Balance=9818965&Balance_Forecast=9818965
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:26 GMT
38
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/DepositSearch.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Deposit_ID=dep0000<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<SHOP_PASS>.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 0<SHOP_PASS> May 20<SHOP_PASS>7 05:58:25 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<SHOP_PASS>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ body:
34
+ encoding: UTF-8
35
+ string: Deposit_ID=dep00000&Bank_ID=bank163144&Bank_Name=みずほ銀行&Bank_Code=0001&Branch_Name=札幌支店&Branch_Code=813&Account_Type=1&Account_Number=0012345&Account_Name=An Yutzy&Free=&Amount=181035&Bank_Fee=270&Result=0&Branch_Code_Jpbank=&Account_Number_Jpbank=&Deposit_Date=&Result_Detail=
36
+ http_version:
37
+ recorded_at: Mon, 01 May 2017 05:58:25 GMT
38
+ recorded_with: VCR 3.0.3