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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4651eb31c37886a32459ab9fd6edf6e5e3abfe82
4
- data.tar.gz: d14fec21e88f96071ac147aea674d095da8fbc49
3
+ metadata.gz: 35201f44f682767eb421941c32866961aea54b15
4
+ data.tar.gz: d6a51e3e1124f2c89c2f1160c6002729512fdb76
5
5
  SHA512:
6
- metadata.gz: 1f3230bbd0af08932cb3344641bd3f1f2d7a345f11b18ed47c26cdcbf02953bddd3121565d88e5cdc8e58f353c5cdf27fd69ff46d0836fc219e3d122e039c54e
7
- data.tar.gz: bd0647acdc550b559e25f2085145b3c66bd59b2eee400754a773ae1a9236af8528fc16c58b649421b5c7d2b57d60283c8778bb4fee27b9664dfd53566bc05f00
6
+ metadata.gz: cab5aaf403e04f5413f23adf1f508cd664dc25cbafc9b3a2d44477381c0f2d1b9fb8d5b06d1ad39e751be683d78f9c892484dc1f15ddeef7f91245e135ad0ec4
7
+ data.tar.gz: de1f3a6d02d684c50ad7cf369b0ed19111c0f847301870fbadf353b0a658267c02a9bf2020bb4a1d3442c7498f41fdb468e35280fa5eb372ba3d35dd7dde658a
@@ -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 = []
@@ -1,3 +1,3 @@
1
1
  module SsciInc
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.14'
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.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Alme