Class: I18nPhoneNumbers::Metadata

Inherits:
Object
  • Object
show all
Extended by:
ClassMethods
Includes:
InstanceMethods
Defined in:
lib/i18n_phone_numbers/metadata.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Attribute Summary collapse

Method Summary

Methods included from ClassMethods

countryCodeToRegionCodeMap, countryToMetadata, dump_territories, load_from_xml, quick_load_territories, territories

Methods included from InstanceMethods

#initialize

Instance Attribute Details

#country_codeObject

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_lineObject

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_descObject

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

#idObject

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_prefixObject

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_formatsObject

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_digitsObject

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_possibleObject

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_codeObject

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

#mobileObject

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_prefixObject

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_parsingObject

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_ruleObject

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_ruleObject

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_formatsObject

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_prefixObject

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_patternObject

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