ssci_inc 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ssci_inc/request.rb +12 -2
- 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: f556bc4f5c7acd9554471b3c737e5e3189254ad0
|
4
|
+
data.tar.gz: a6a46371cf3f1e9e2e292c82983d3033b9c7599f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4409378ffc702358a62a1fe3491325562169069d7b3fd9bf1d56067d6ea45607273c7b5876c605877203684e806679324bb6af330eb71ed96bdb06ae6d6c2614
|
7
|
+
data.tar.gz: a4b09700ab311978152f642ab0b1be963867d2deaf5eee537f3c2a2b25ae0982bc059c4c9aa276664e83b8ef4a6cd745ba2b5910389253aeb374915386b1b725
|
data/lib/ssci_inc/request.rb
CHANGED
@@ -69,6 +69,8 @@ module SsciInc
|
|
69
69
|
send("#{k}=", v) if respond_to?("#{k}=")
|
70
70
|
end
|
71
71
|
|
72
|
+
county =
|
73
|
+
|
72
74
|
yield self if block_given?
|
73
75
|
end
|
74
76
|
|
@@ -114,8 +116,8 @@ module SsciInc
|
|
114
116
|
}
|
115
117
|
end
|
116
118
|
xml.DemographicDetail {
|
117
|
-
xml.Ssn ssn
|
118
|
-
|
119
|
+
xml.Ssn ssn
|
120
|
+
xml.DateOfBirth date_of_birth
|
119
121
|
} # DemographicDetail
|
120
122
|
xml.AddressSummary {
|
121
123
|
xml.CountryCode country_code == "Canada" ? "CA" : "US"
|
@@ -199,6 +201,14 @@ module SsciInc
|
|
199
201
|
@postback_password || config.postback_password
|
200
202
|
end
|
201
203
|
|
204
|
+
def county
|
205
|
+
@county || "LOOKUP"
|
206
|
+
end
|
207
|
+
|
208
|
+
def ssn
|
209
|
+
@ssn.tr('- ', '') || "999999999"
|
210
|
+
end
|
211
|
+
|
202
212
|
private def init_defaults
|
203
213
|
@action = "submit"
|
204
214
|
@screenings = []
|
data/lib/ssci_inc/version.rb
CHANGED