stp_client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stp/structs/account.rb +4 -0
- data/lib/stp/structs/payment_order.rb +4 -0
- data/lib/stp/version.rb +1 -1
- data/spec/stp/account_create_spec.rb +0 -2
- data/spec/stp/account_delete_spec.rb +0 -2
- data/spec/stp/payment_order_spec.rb +0 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc5b27b5570c48f3fe21db14b7ebbd0131d89d143c677b9ecb75a4d301923bf1
|
4
|
+
data.tar.gz: cc579b5ec5d1c93077d1c17d4a6e65f2945f3fbcc741c5937bc576f428114139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c613cab091aa0cbf59a5c807fa5d04ba12286e4f7c70e0178b190d7d847bca243a2ff3784c4516af972bb97a2ba9041cf5604dfa49dc800b555a5f2efabda69
|
7
|
+
data.tar.gz: b757d4944f474c1319cb1c66d5ab7234c269707b386bd0804245fc740edaf073b0c3b5788a4b73aa066508c9c27fe0dfdd58e7cc663fedc9754c973c16a6cd82
|
data/Gemfile.lock
CHANGED
data/lib/stp/structs/account.rb
CHANGED
data/lib/stp/version.rb
CHANGED
@@ -12,7 +12,6 @@ RSpec.describe STP::Account do
|
|
12
12
|
let(:account_obj) do
|
13
13
|
account = STP::Structs::Account.new
|
14
14
|
account.account = '01010101'
|
15
|
-
account.company = STP.company
|
16
15
|
account.name = Faker::Name.first_name
|
17
16
|
account.paternal_surname = Faker::Name.last_name
|
18
17
|
account.maternal_surname = Faker::Name.last_name
|
@@ -75,7 +74,6 @@ RSpec.describe STP::Account do
|
|
75
74
|
let(:account_obj) do
|
76
75
|
account = STP::Structs::Account.new
|
77
76
|
account.account = '01010101'
|
78
|
-
account.company = STP.company
|
79
77
|
account.name = Faker::Name.first_name
|
80
78
|
account.paternal_surname = Faker::Name.last_name
|
81
79
|
account.maternal_surname = Faker::Name.last_name
|
@@ -12,7 +12,6 @@ RSpec.describe STP::Account do
|
|
12
12
|
let(:account_obj) do
|
13
13
|
account = STP::Structs::Account.new
|
14
14
|
account.account = '01010101'
|
15
|
-
account.company = STP.company
|
16
15
|
account.name = Faker::Name.first_name
|
17
16
|
account.paternal_surname = Faker::Name.last_name
|
18
17
|
account.maternal_surname = Faker::Name.last_name
|
@@ -75,7 +74,6 @@ RSpec.describe STP::Account do
|
|
75
74
|
let(:account_obj) do
|
76
75
|
account = STP::Structs::Account.new
|
77
76
|
account.account = '01010101'
|
78
|
-
account.company = STP.company
|
79
77
|
account.name = Faker::Name.first_name
|
80
78
|
account.paternal_surname = Faker::Name.last_name
|
81
79
|
account.maternal_surname = Faker::Name.last_name
|
@@ -14,7 +14,6 @@ RSpec.describe STP::PaymentOrder do
|
|
14
14
|
payment_order = STP::Structs::PaymentOrder.new
|
15
15
|
payment_order.payment_concept = 'prueba veinte'
|
16
16
|
payment_order.tracking_key = "#{Time.now.strftime '%j%y'}#{withdrawal_id.tr('-', '')[0, 24]}"
|
17
|
-
payment_order.company = 'FINVE'
|
18
17
|
payment_order.beneficiary_account = '846180000000000016'
|
19
18
|
payment_order.counterpart_institution = '846'
|
20
19
|
payment_order.operant_institution = '90646'
|
@@ -46,7 +45,6 @@ RSpec.describe STP::PaymentOrder do
|
|
46
45
|
payment_order = STP::Structs::PaymentOrder.new
|
47
46
|
payment_order.payment_concept = 'prueba veinte'
|
48
47
|
payment_order.tracking_key = "#{Time.now.strftime '%j%y'}#{withdrawal_id.tr('-', '')[0, 24]}"
|
49
|
-
payment_order.company = STP.company
|
50
48
|
payment_order.folio = withdrawal_id
|
51
49
|
payment_order.beneficiary_account = '846180000400000001'
|
52
50
|
payment_order.counterpart_institution = '846'
|
@@ -80,7 +78,6 @@ RSpec.describe STP::PaymentOrder do
|
|
80
78
|
payment_order = STP::Structs::PaymentOrder.new
|
81
79
|
payment_order.payment_concept = 'prueba veinte'
|
82
80
|
payment_order.tracking_key = 'pruebaFinve002'
|
83
|
-
payment_order.company = 'FINVE'
|
84
81
|
payment_order.beneficiary_account = '846180000000000016'
|
85
82
|
payment_order.counterpart_institution = '846'
|
86
83
|
payment_order.operant_institution = '90646'
|