cadooz 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cadooz/models/immutable/address.rb +2 -2
- data/lib/cadooz/models/mutable/address.rb +2 -2
- data/lib/cadooz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2929ff8ee2dec7a7840f103a694985fb05eb1cb6
|
4
|
+
data.tar.gz: 6772151e98da7f319920b31b996ac2a710fdead5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e48f75c6b3d7cbe24c6bd1d680d5626b725bc776e91d6a434f37baed5ccb6fd4af52ccb02bc96be8a0f707b7c808da8682bf899ffd6a8b4aa832b6653a8e47
|
7
|
+
data.tar.gz: b7182308f30ca8c627ecff4edc292d27be78b7cd68be0ab0da5a3d8b75afe87e8546ea2fc834f63e3cae16aac33e6b1f3aa37d31e62321a921977a76206915a0
|
@@ -3,7 +3,7 @@ class Cadooz::Immutable::Address
|
|
3
3
|
|
4
4
|
attr_reader :city, :company, :country, :department, :email, :firstname,
|
5
5
|
:lastname, :phone, :salutation, :state, :street,
|
6
|
-
:
|
6
|
+
:street_addon, :zip_code
|
7
7
|
|
8
8
|
def initialize(open_struct)
|
9
9
|
@city = open_struct&.city
|
@@ -17,7 +17,7 @@ class Cadooz::Immutable::Address
|
|
17
17
|
@salutation = open_struct&.salutation
|
18
18
|
@state = open_struct&.state
|
19
19
|
@street = open_struct&.street
|
20
|
-
@
|
20
|
+
@street_addon = open_struct&.street_addon
|
21
21
|
@zip_code = open_struct&.zipcode
|
22
22
|
|
23
23
|
self.freeze
|
@@ -3,7 +3,7 @@ class Cadooz::Mutable::Address
|
|
3
3
|
|
4
4
|
attr_accessor :city, :company, :country, :department, :email, :firstname,
|
5
5
|
:lastname, :phone, :salutation, :state, :street,
|
6
|
-
:
|
6
|
+
:street_addon, :zipcode
|
7
7
|
|
8
8
|
def initialize
|
9
9
|
@company = nil
|
@@ -16,7 +16,7 @@ class Cadooz::Mutable::Address
|
|
16
16
|
@salutation = nil
|
17
17
|
@state = nil
|
18
18
|
@street = nil
|
19
|
-
@
|
19
|
+
@street_addon = nil
|
20
20
|
@zipcode = nil
|
21
21
|
end
|
22
22
|
end
|
data/lib/cadooz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cadooz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Brown
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|