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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 543006e0d0cd44f4d47057edf261ad8964a59ca4
4
- data.tar.gz: 4ed0ffd67b827a9772ad8851ceabd329da233dbd
3
+ metadata.gz: f556bc4f5c7acd9554471b3c737e5e3189254ad0
4
+ data.tar.gz: a6a46371cf3f1e9e2e292c82983d3033b9c7599f
5
5
  SHA512:
6
- metadata.gz: de78d48ad1561eae22e5b11283c6a35fa65945647a5a9adce8b59c8c3012d7d43700cfac43db6ceea3df773dd5e3e4a16bf75bb6facc5149da16acdaa8a128a0
7
- data.tar.gz: d8bec3b1418e76b0a94b6aea76860823497fb398abe0b249805ac2a01a4c3af8eac553f39bd71a951966f90e8614c134ec4443c0b940d098ad198a704517b1c5
6
+ metadata.gz: 4409378ffc702358a62a1fe3491325562169069d7b3fd9bf1d56067d6ea45607273c7b5876c605877203684e806679324bb6af330eb71ed96bdb06ae6d6c2614
7
+ data.tar.gz: a4b09700ab311978152f642ab0b1be963867d2deaf5eee537f3c2a2b25ae0982bc059c4c9aa276664e83b8ef4a6cd745ba2b5910389253aeb374915386b1b725
@@ -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.tr('- ', '') unless ssn.blank?
118
- xml.DateOfBirth date_of_birth
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 = []
@@ -1,3 +1,3 @@
1
1
  module SsciInc
2
- VERSION = '0.1.16'
2
+ VERSION = '0.1.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssci_inc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Alme