Class: I18nPhoneNumbers::Metadata
- Inherits:
-
Object
- Object
- I18nPhoneNumbers::Metadata
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods
- Defined in:
- lib/i18n_phone_numbers/metadata.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Instance Attribute Summary collapse
-
#country_code ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#fixed_line ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#general_desc ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#id ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#international_prefix ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#intl_number_formats ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#leading_digits ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#leading_zero_possible ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#main_country_for_code ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#mobile ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#national_prefix ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#national_prefix_for_parsing ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#national_prefix_formatting_rule ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#national_prefix_transform_rule ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#number_formats ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#preferred_international_prefix ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
-
#same_mobile_and_fixed_line_pattern ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region.
Method Summary
Methods included from ClassMethods
countryCodeToRegionCodeMap, countryToMetadata, dump_territories, load_from_xml, quick_load_territories, territories
Methods included from InstanceMethods
Instance Attribute Details
#country_code ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def country_code @country_code end |
#fixed_line ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def fixed_line @fixed_line end |
#general_desc ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def general_desc @general_desc end |
#id ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def id @id end |
#international_prefix ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def international_prefix @international_prefix end |
#intl_number_formats ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def intl_number_formats @intl_number_formats end |
#leading_digits ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def leading_digits @leading_digits end |
#leading_zero_possible ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def leading_zero_possible @leading_zero_possible end |
#main_country_for_code ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def main_country_for_code @main_country_for_code end |
#mobile ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def mobile @mobile end |
#national_prefix ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def national_prefix @national_prefix end |
#national_prefix_for_parsing ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def national_prefix_for_parsing @national_prefix_for_parsing end |
#national_prefix_formatting_rule ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def national_prefix_formatting_rule @national_prefix_formatting_rule end |
#national_prefix_transform_rule ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def national_prefix_transform_rule @national_prefix_transform_rule end |
#number_formats ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def number_formats @number_formats end |
#preferred_international_prefix ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def preferred_international_prefix @preferred_international_prefix end |
#same_mobile_and_fixed_line_pattern ⇒ Object
The ISO 3166-1 alpha-2 representation of a country/region
6 7 8 |
# File 'lib/i18n_phone_numbers/metadata.rb', line 6 def same_mobile_and_fixed_line_pattern @same_mobile_and_fixed_line_pattern end |