Class: RankmiLocalization::Country

Inherits:
ApplicationRecord show all
Defined in:
app/models/rankmi_localization/country.rb

Class Method Summary collapse

Methods inherited from ApplicationRecord

table_name

Class Method Details

.[](code) ⇒ Object



38
39
40
# File 'app/models/rankmi_localization/country.rb', line 38

def self.[](code)
  ::ISO3166::Country[code]
end