Refactor domain expiration email

#186
This commit is contained in:
Artur Beljajev 2016-10-28 00:36:12 +03:00
parent 39d7c6ad1d
commit ad0220088a
30 changed files with 697 additions and 59 deletions

View file

@ -250,6 +250,13 @@ class Contact < ActiveRecord::Base
kit.to_pdf
end
def names
pluck(:name)
end
def emails
pluck(:email)
end
end
def roid