mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
15 lines
278 B
Ruby
15 lines
278 B
Ruby
class EppUser < ActiveRecord::Base
|
|
# TODO should have max request limit per day
|
|
belongs_to :registrar
|
|
has_many :contacts
|
|
|
|
attr_accessor :registrar_typeahead
|
|
|
|
def registrar_typeahead
|
|
@registrar_typeahead || registrar || nil
|
|
end
|
|
|
|
def to_s
|
|
username
|
|
end
|
|
end
|