mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
11 lines
137 B
Ruby
11 lines
137 B
Ruby
class Country < ActiveRecord::Base
|
|
def to_s
|
|
name
|
|
end
|
|
|
|
class << self
|
|
def estonia
|
|
find_by(iso: 'EE')
|
|
end
|
|
end
|
|
end
|