ssci_inc 0.1.13 → 0.1.14
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.
- checksums.yaml +4 -4
- data/lib/ssci_inc/request.rb +2 -12
- data/lib/ssci_inc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35201f44f682767eb421941c32866961aea54b15
|
|
4
|
+
data.tar.gz: d6a51e3e1124f2c89c2f1160c6002729512fdb76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cab5aaf403e04f5413f23adf1f508cd664dc25cbafc9b3a2d44477381c0f2d1b9fb8d5b06d1ad39e751be683d78f9c892484dc1f15ddeef7f91245e135ad0ec4
|
|
7
|
+
data.tar.gz: de1f3a6d02d684c50ad7cf369b0ed19111c0f847301870fbadf353b0a658267c02a9bf2020bb4a1d3442c7498f41fdb468e35280fa5eb372ba3d35dd7dde658a
|
data/lib/ssci_inc/request.rb
CHANGED
|
@@ -42,8 +42,6 @@ module SsciInc
|
|
|
42
42
|
|
|
43
43
|
# DemographicDetail
|
|
44
44
|
attr_accessor :government_id,
|
|
45
|
-
:ssn_country_code,
|
|
46
|
-
:issuing_authority,
|
|
47
45
|
:date_of_birth
|
|
48
46
|
|
|
49
47
|
# PostalAddress
|
|
@@ -82,12 +80,6 @@ module SsciInc
|
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
85
|
-
def ssn=(new_ssn)
|
|
86
|
-
@government_id = new_ssn
|
|
87
|
-
@ssn_country_code = "US"
|
|
88
|
-
@issuing_authority = "SSN"
|
|
89
|
-
end
|
|
90
|
-
|
|
91
83
|
def name
|
|
92
84
|
person_name do |p|
|
|
93
85
|
p.given_name = given_name
|
|
@@ -122,7 +114,7 @@ module SsciInc
|
|
|
122
114
|
}
|
|
123
115
|
end
|
|
124
116
|
xml.DemographicDetail {
|
|
125
|
-
xml.Ssn government_id
|
|
117
|
+
xml.Ssn government_id.tr('- ', '')
|
|
126
118
|
xml.DateOfBirth date_of_birth
|
|
127
119
|
} # DemographicDetail
|
|
128
120
|
xml.AddressSummary {
|
|
@@ -207,9 +199,7 @@ module SsciInc
|
|
|
207
199
|
@postback_password || config.postback_password
|
|
208
200
|
end
|
|
209
201
|
|
|
210
|
-
private
|
|
211
|
-
|
|
212
|
-
def init_defaults
|
|
202
|
+
private def init_defaults
|
|
213
203
|
@action = "submit"
|
|
214
204
|
@screenings = []
|
|
215
205
|
@aliases = []
|
data/lib/ssci_inc/version.rb
CHANGED