mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 16:39:55 +02:00
Add extended registrar's info to "pending_update_request_for_old_registrant" mailer
#180
This commit is contained in:
parent
34c1e0d323
commit
fc9104a232
11 changed files with 239 additions and 32 deletions
|
@ -1,17 +1,11 @@
|
|||
class RegistrantPresenter
|
||||
delegate :name, :ident, :email, to: :registrant
|
||||
|
||||
def initialize(registrant:, view:)
|
||||
@registrant = registrant
|
||||
@view = view
|
||||
end
|
||||
|
||||
def name
|
||||
registrant.name
|
||||
end
|
||||
|
||||
def ident
|
||||
registrant.ident
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :registrant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue