stp_client 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stp/structs/account.rb +3 -3
- data/lib/stp/version.rb +1 -1
- 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: e6b8ee11ef13c3ad87564a457471e65eec86c5f139f734416bbb5923dbfe0a50
|
4
|
+
data.tar.gz: cd9d980754eb8d4b820e63f88bf03278d3ee4b670242d14b11a813a6b5716068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85e591aaee0f159c472cd7f5cccba6463c16756215137730d2ed3656364715ef6d049681ee32ed428f7e498f5f014f7a8b9e78cb0d3cb6ca6fdb4b196a4fcab0
|
7
|
+
data.tar.gz: 5d18948844c674333ac6cc896d15bac7fef9e81ff24917a23c2d0a9d9f39e661bba263eb7613369a063bf7ed6c03da023eedbf9bc0cfc0f2c67b28a23903725c
|
data/lib/stp/structs/account.rb
CHANGED
@@ -34,9 +34,9 @@ module STP
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def as_json(_options = {})
|
37
|
-
name = @name.present? ? I18n.transliterate(@name) : nil
|
38
|
-
paternal_surname = @paternal_surname.present? ? I18n.transliterate(@paternal_surname) : nil
|
39
|
-
maternal_surname = @maternal_surname.present? ? I18n.transliterate(@maternal_surname) : nil
|
37
|
+
name = @name.present? ? I18n.transliterate(@name) : nil
|
38
|
+
paternal_surname = @paternal_surname.present? ? I18n.transliterate(@paternal_surname) : nil
|
39
|
+
maternal_surname = @maternal_surname.present? ? I18n.transliterate(@maternal_surname) : nil
|
40
40
|
{
|
41
41
|
cuenta: @account,
|
42
42
|
empresa: @company,
|
data/lib/stp/version.rb
CHANGED