magic_addresses 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/app/models/magic_addresses/address.rb +1 -1
- data/lib/magic_addresses/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTE5ZTVlZjI1ZmUyODQ0YWE0Zjg0Y2ZjYjhiNTZlNjhhZGRkNmFhNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTkzYTVhZmQyZmJiZjJjYjdlMmE5MzVlZWVlODBhNmVjZGM3MTU3MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjQ3Nzg0NzRkYWNmM2ExMzQwMDBhMjVjZDM0YjM0NWU3NTY4MzhhMWE3Yjk1
|
10
|
+
NjE2NmExNjg3NWRjOWZmOWRjMTEwNTIzYjEyMDAzNzk5MzcwOWVlOGQ5OTdi
|
11
|
+
NGNlNTEzN2NlMGE0NTkxMzMwZGQzOWI5ZTk5OThiYjY3ZDk4NWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmM2ZDY1N2Q0ZjUyNGRiYzMwYTA1MTMzYzczNjA1YjhhNjI4MjRlOWI3MjIy
|
14
|
+
YWU5Y2MyNDJhMzQyNzEzYTE2ZmUzNTRiYjFmMzkzOGI0OTUyYWVkZTQzN2Vm
|
15
|
+
ODVlNGYwZTkwNjZkZjg0NzVhNzIyMWIxYTJjMTRhMzc0NGFkNmY=
|
@@ -32,7 +32,7 @@ class MagicAddresses::Address < ActiveRecord::Base
|
|
32
32
|
# =====> A T T R I B U T E S <============================================================= #
|
33
33
|
serialize :fetch_address, Hash
|
34
34
|
|
35
|
-
%w[fetch_street fetch_number fetch_city fetch_zipcode fetch_country].each do |key|
|
35
|
+
%w[fetch_street fetch_number fetch_city fetch_zipcode fetch_country fetch_country_code].each do |key|
|
36
36
|
define_method(key) do
|
37
37
|
fetch_address && fetch_address[key]
|
38
38
|
end
|