mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 17:55:12 +02:00
parent
7e11c3a3dd
commit
eac7690345
6 changed files with 41 additions and 35 deletions
|
@ -1,11 +1,15 @@
|
|||
class RegistrantPresenter
|
||||
delegate :name, :ident, :email, :priv?, to: :registrant
|
||||
delegate :name, :ident, :email, :priv?, :street, :city, to: :registrant
|
||||
|
||||
def initialize(registrant:, view:)
|
||||
@registrant = registrant
|
||||
@view = view
|
||||
end
|
||||
|
||||
def country
|
||||
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :registrant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue