gmo 0.2.6 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.travis.yml +5 -5
  4. data/CHANGELOG.md +43 -1
  5. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_deposit_gets_data_about_a_deposit.yml +38 -0
  6. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_mail_deposit_gets_data_about_a_mail_deposit.yml +38 -0
  7. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_account_gets_data_about_an_account.yml +38 -0
  8. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_deposit_gets_data_about_a_deposit.yml +38 -0
  9. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_gets_data_about_a_mail_deposit.yml +38 -0
  10. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_delete_account_gets_data_about_an_account.yml +38 -0
  11. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_account_gets_data_about_an_account.yml +38 -0
  12. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_balance_gets_data_about_balance.yml +38 -0
  13. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_deposit_gets_data_about_a_deposit.yml +38 -0
  14. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_mail_deposit_gets_data_about_a_mail_deposit.yml +38 -0
  15. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_update_account_gets_data_about_an_account.yml +38 -0
  16. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_brandtoken_gets_data_about_order.yml +108 -0
  17. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml +63 -0
  18. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_brandtoken_gets_data_about_a_transaction.yml +38 -0
  19. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_docomo_gets_data_about_a_transaction.yml +35 -0
  20. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_linepay_gets_data_about_a_transaction.yml +36 -0
  21. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_rakuten_id_gets_data_about_a_transaction.yml +35 -0
  22. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_gets_data_about_a_transaction.yml +73 -0
  23. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +73 -0
  24. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_docomo_gets_data_about_a_transaction.yml +67 -0
  25. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_doesn_t_require_card_info_if_token_is_present.yml +69 -0
  26. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml +69 -0
  27. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_rakuten_id_gets_data_about_a_transaction.yml +67 -0
  28. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_refund_tran_brandtoken_gets_data_about_a_transaction.yml +108 -0
  29. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_sales_tran_brandtoken_gets_data_about_a_transaction.yml +143 -0
  30. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml +108 -0
  31. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_exec_tran_brandtoken_got_data.yml +73 -0
  32. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_brandtoken_got_data.yml +108 -0
  33. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_brandtoken_gets_data_about_a_brandtoken.yml +73 -0
  34. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_doesn_t_require_card_info_if_token_is_present.yml +36 -0
  35. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_brandtoken_gets_data_about_a_brandtoken.yml +74 -0
  36. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_detail_by_member_id_gets_data_about_card_detail.yml +36 -0
  37. data/gmo.gemspec +1 -1
  38. data/lib/gmo.rb +6 -1
  39. data/lib/gmo/const.rb +2509 -3
  40. data/lib/gmo/errors.rb +22 -4
  41. data/lib/gmo/remittance_api.rb +331 -0
  42. data/lib/gmo/shop_and_site_api.rb +77 -2
  43. data/lib/gmo/shop_api.rb +329 -8
  44. data/lib/gmo/site_api.rb +75 -4
  45. data/lib/gmo/version.rb +2 -2
  46. data/spec/gmo/{error_spec.rb → errors_spec.rb} +11 -2
  47. data/spec/gmo/remittance_api_spec.rb +506 -0
  48. data/spec/gmo/shop_and_site_api_spec.rb +87 -7
  49. data/spec/gmo/shop_api_spec.rb +566 -109
  50. data/spec/gmo/site_api_spec.rb +120 -23
  51. data/spec/support/config.example.yml +8 -1
  52. data/spec/support/config.yml +8 -1
  53. data/spec/support/config_loader.rb +1 -1
  54. data/spec/support/vcr.rb +12 -3
  55. metadata +44 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a046343586444cc4d6e153f0459902a630ae35a7
4
- data.tar.gz: 88e6237d3ad345141006aa40347d925bcb617b77
2
+ SHA256:
3
+ metadata.gz: eaa71623e6e73094b9ca7c3855b7d691d9afd1f66b7ffd1131748f9185d73419
4
+ data.tar.gz: fa66755179642177d794da8f41cb82445a1666aeab49a5d4e2b946dcfe807044
5
5
  SHA512:
6
- metadata.gz: b70c9bc49e29da711ec7f28c86e9f400c633578eeee2dc71b596f6dba5bc8854ba9521668dc3e2959f3e18293d2f79f9ef8366f530eb0804f35814d86fca415d
7
- data.tar.gz: 3175666f9ffdfd8d7f486a0f75f9841c594954003706e0fd721a05091c70ca8bc4455c3a753a6da1a2947ca0cf0cfb437d497f990f2f38187965b3931230aaac
6
+ metadata.gz: e64017b8bb1f8499741273c014d804c15e480bac887d334dab6739c482a7b93ed2a8236928b6b4f1b2de0ed5c871df4b69e2d596f20edb671c85670359af6897
7
+ data.tar.gz: eff2c76d2515c0d106dc514119341b78b94cfc08e0318372c096a9b94c6a1057780159594a55d8060fbe98eaa7499488a1ed75d57354f61d6ee7a34f8774d834
data/.gitignore CHANGED
@@ -6,5 +6,6 @@ Gemfile.lock
6
6
  *~
7
7
  .yardoc/
8
8
  /coverage
9
+ .bundle
9
10
 
10
11
  .DS_Store
@@ -1,12 +1,15 @@
1
1
  language: ruby
2
2
  rvm:
3
- - rbx-2.1.1
4
3
  - ruby-head
5
4
  - 1.8.7
6
5
  - 2.0
7
6
  - 2.1
8
7
  - 2.2
9
- - 2.3.0
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
@@ -19,6 +22,3 @@ matrix:
19
22
  - rvm: jruby-19mode
20
23
  - rvm: jruby-head
21
24
  - rvm: 1.8.7
22
- - rvm: rbx-2.1.1
23
- - rvm: 1.9.3
24
- - rvm: 1.9.2
@@ -1,5 +1,47 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.5.2
4
+ * Support d払い/ドコモ払い(docomo payment), 楽天ペイ(Rakuten payment) [#42](https://github.com/t-k/gmo-payment-ruby/pull/42) (Thanks [@valda](https://github.com/valda))
5
+ * Add more G-series error codes [#41](https://github.com/t-k/gmo-payment-ruby/pull/41) (Thanks [@ermaac](https://github.com/ermaac))
6
+
7
+ ## 0.5.1
8
+ * Add more error codes [#37](https://github.com/t-k/gmo-payment-ruby/pull/37) (Thanks [@jagdeepsingh](https://github.com/jagdeepsingh))
9
+
10
+ ## 0.5.0
11
+ * Support CvsCancel API [#34](https://github.com/t-k/gmo-payment-ruby/pull/34) (Thanks [@mogulla3](https://github.com/mogulla3 ))
12
+ * Fix typo [#29](https://github.com/t-k/gmo-payment-ruby/pull/29) (Thanks [@nishio-dens](https://github.com/nishio-dens))
13
+ * Support PaymentType of INPUT_PARAMS [#28](https://github.com/t-k/gmo-payment-ruby/pull/28) (Thanks [@johnny-miyake](https://github.com/johnny-miyake))
14
+
15
+ ## 0.4.0
16
+
17
+ * Multipayment API
18
+ * Add end points to manage brandtoken [#22](https://github.com/t-k/gmo-payment-ruby/pull/22) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
19
+ * 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))
20
+
21
+ * RemittanceAPI
22
+ * Add support to register payment accounts [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
23
+ * Add support to register deposits [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
24
+ * Add support to register mail deposits [#20](https://github.com/t-k/gmo-payment-ruby/pull/20) (Thanks [@jagdeepsingh](https://github.com/JagdeepSingh))
25
+
26
+ * 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))
27
+
28
+ * SiteAPI
29
+ * 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))
30
+
31
+ * ShopAPI
32
+ * Add token payment support #23 (Thanks @k0uki)
33
+
34
+ ## 0.3.0
35
+ * ShopAPI
36
+ * Support LINE Pay payment #13 (Thanks @ryooob)
37
+
38
+ ShopAPI#entry_tran_linepay, ShopAPI#exec_tran_linepay were added
39
+ * Update required item on ShopAPI#exec_tran_cvs #15 (Thanks @pyonnuka)
40
+ * SiteAPI
41
+ * card_no and expire are not required for save_card if a token is used #17 (Thanks @mcfiredrill)
42
+ * Testing
43
+ * fix Spec and upgrade RSpec to v3 #14, #16, #18, #19 (Thanks @htz @cameluby @kazuooooo @mcfiredrill)
44
+
3
45
  ## 0.2.6
4
46
  * Fixes several Ruby warnings #8 (Thanks @amatsuda)
5
47
 
@@ -25,4 +67,4 @@
25
67
 
26
68
  * Use https scheme for rubygems source
27
69
  * Add support for required fields validation
28
- * Adds pay-by-Konbini support (Thanks @keichan34)
70
+ * 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