stp_client 0.4.1 → 0.4.2
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 +2 -2
- data/lib/stp/version.rb +1 -1
- data/spec/stp/account_create_spec.rb +3 -3
- data/spec/stp/account_delete_spec.rb +2 -2
- 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: 3d038cf175ba0451c3794a3e9366b08bae93a79907ae300adfad17fef6242f2c
|
4
|
+
data.tar.gz: 5292c787fc71ddde9f25ed363ba137f3b00c1f08c12d8b13049fc843122f01c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56f485f62374ea5b55b532171ac6b9845dd506d090cde1551a8d868fa4e42439d32166f642bbb516140c383abfe0418f0b1f3b1597ebb86ecdd713b0d2cdde06
|
7
|
+
data.tar.gz: 5876264f99ae9a1374fe5fd03043a23eb5c6f4eadaafe215e8f0341d2bc1f2c0130b0ff409933f781b020fae1eb2cb484a8726e9fa953bcf9c7db3f058f70044
|
data/Gemfile.lock
CHANGED
data/lib/stp/structs/account.rb
CHANGED
@@ -13,7 +13,7 @@ module STP
|
|
13
13
|
:economic_activity, # actividadEconomica
|
14
14
|
:street, # calle
|
15
15
|
:exterior_number, # numeroExterior
|
16
|
-
:
|
16
|
+
:interior_number, # numeroInterior
|
17
17
|
:neighborhood, # colonia
|
18
18
|
:municipality, # alcaldiaMunicipio
|
19
19
|
:zip_code, # cp
|
@@ -47,7 +47,7 @@ module STP
|
|
47
47
|
actividadEconomica: @economic_activity,
|
48
48
|
calle: @street,
|
49
49
|
numeroExterior: @exterior_number,
|
50
|
-
numeroInterior: @
|
50
|
+
numeroInterior: @interior_number,
|
51
51
|
colonia: @neighborhood,
|
52
52
|
alcaldiaMunicipio: @municipality,
|
53
53
|
cp: @zip_code,
|
data/lib/stp/version.rb
CHANGED
@@ -21,7 +21,7 @@ RSpec.describe STP::Account do
|
|
21
21
|
account.economic_activity = 'programador'
|
22
22
|
account.street = Faker::Address.street_name
|
23
23
|
account.exterior_number = Faker::Address.building_number
|
24
|
-
account.
|
24
|
+
account.interior_number = Faker::Address.building_number
|
25
25
|
account.neighborhood = Faker::Address.community
|
26
26
|
account.municipality = Faker::Address.community
|
27
27
|
account.zip_code = Faker::Number.number(digits: 5)
|
@@ -75,7 +75,7 @@ RSpec.describe STP::Account do
|
|
75
75
|
account.economic_activity = 'programador'
|
76
76
|
account.street = Faker::Address.street_name
|
77
77
|
account.exterior_number = Faker::Address.building_number
|
78
|
-
account.
|
78
|
+
account.interior_number = Faker::Address.building_number
|
79
79
|
account.neighborhood = Faker::Address.community
|
80
80
|
account.municipality = Faker::Address.community
|
81
81
|
account.zip_code = Faker::Number.number(digits: 5)
|
@@ -109,7 +109,7 @@ RSpec.describe STP::Account do
|
|
109
109
|
account.economic_activity = 'programador'
|
110
110
|
account.street = Faker::Address.street_name
|
111
111
|
account.exterior_number = Faker::Address.building_number
|
112
|
-
account.
|
112
|
+
account.interior_number = Faker::Address.building_number
|
113
113
|
account.neighborhood = Faker::Address.community
|
114
114
|
account.municipality = Faker::Address.community
|
115
115
|
account.zip_code = Faker::Number.number(digits: 5)
|
@@ -21,7 +21,7 @@ RSpec.describe STP::Account do
|
|
21
21
|
account.economic_activity = 'programador'
|
22
22
|
account.street = Faker::Address.street_name
|
23
23
|
account.exterior_number = Faker::Address.building_number
|
24
|
-
account.
|
24
|
+
account.interior_number = Faker::Address.building_number
|
25
25
|
account.neighborhood = Faker::Address.community
|
26
26
|
account.municipality = Faker::Address.community
|
27
27
|
account.zip_code = Faker::Number.number(digits: 5)
|
@@ -85,7 +85,7 @@ RSpec.describe STP::Account do
|
|
85
85
|
account.economic_activity = 'programador'
|
86
86
|
account.street = Faker::Address.street_name
|
87
87
|
account.exterior_number = Faker::Address.building_number
|
88
|
-
account.
|
88
|
+
account.interior_number = Faker::Address.building_number
|
89
89
|
account.neighborhood = Faker::Address.community
|
90
90
|
account.municipality = Faker::Address.community
|
91
91
|
account.zip_code = Faker::Number.number(digits: 5)
|