blueline_services 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/blueline_services/request.rb +5 -2
- data/lib/blueline_services/version.rb +1 -1
- data/test/unit/request_test.rb +1 -0
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -31,8 +31,10 @@ module BluelineServices
|
|
31
31
|
attr_accessor :government_id,
|
32
32
|
:country_code,
|
33
33
|
:issuing_authority,
|
34
|
-
:date_of_birth
|
35
|
-
|
34
|
+
:date_of_birth
|
35
|
+
|
36
|
+
# PostalAddress
|
37
|
+
attr_accessor :postal_code,
|
36
38
|
:region,
|
37
39
|
:municipality,
|
38
40
|
:address_line,
|
@@ -98,6 +100,7 @@ module BluelineServices
|
|
98
100
|
xml.GovernmentId(government_id,
|
99
101
|
:countryCode => country_code,
|
100
102
|
:issuingAuthority => issuing_authority)
|
103
|
+
xml.DateOfBirth date_of_birth
|
101
104
|
} # DemographicDetail
|
102
105
|
xml.PostalAddress {
|
103
106
|
xml.PostalCode postal_code
|
data/test/unit/request_test.rb
CHANGED
@@ -36,6 +36,7 @@ module BluelineServices
|
|
36
36
|
assert_xml_text_equal root_node, :middle_name
|
37
37
|
assert_xml_text_equal root_node, :family_name
|
38
38
|
assert_xml_text_equal root_node, :government_id
|
39
|
+
assert_xml_text_equal root_node, :date_of_birth
|
39
40
|
assert_xml_text_equal root_node, :postal_code
|
40
41
|
assert_xml_text_equal root_node, :region
|
41
42
|
assert_xml_text_equal root_node, :municipality
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blueline_services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 6
|
10
|
+
version: 0.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jon Karna
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-05-
|
19
|
+
date: 2012-05-08 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
prerelease: false
|