has_contact_number 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f4062d2509f470d0c88a16b2a435e0a8d18438
|
4
|
+
data.tar.gz: fa332c183ee9292022524be0b939bd393eb38389
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0fa191056be7dd2deeae8583b030d6d8291c606adb2a269feaa16170865f8c20077d4191154fa1ffa29de5a23ede78d4ca63f4b61182af27bb8e0b5db001866
|
7
|
+
data.tar.gz: 8bafac5bb99ccd228ca22f01f24cac433bfca4e69892b8ceacd68bbfd4873b957cdd5607d2842e9c35fa9da0b9c958e71fff1d6b308e7a13338b3fe93878e7fc
|
@@ -1,12 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
module ActionView::Helpers::FormOptionsHelper
|
3
3
|
|
4
|
-
puts '------------------------------------HasContactNumber::HelperMethods---------------------'
|
5
4
|
def options_for_isd_code_select
|
6
5
|
@isd_code_options ||= IsoCountryCodes.all.map do |record|
|
7
|
-
|
8
6
|
[record.calling_code, record.calling_code.delete('+').rjust(4, '0')]
|
9
|
-
|
10
7
|
end
|
11
8
|
end
|
12
9
|
|