mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
parent
fb584778fd
commit
e4ae71b308
2 changed files with 37 additions and 0 deletions
|
@ -257,6 +257,20 @@ class Contact < ActiveRecord::Base
|
|||
def emails
|
||||
pluck(:email)
|
||||
end
|
||||
|
||||
def address_processing
|
||||
Setting.address_processing
|
||||
end
|
||||
|
||||
def address_attributes
|
||||
%i(
|
||||
city
|
||||
street
|
||||
zip
|
||||
country_code
|
||||
state
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
def roid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue