mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
17 lines
293 B
Ruby
17 lines
293 B
Ruby
class RegistrantPresenter
|
|
delegate :name, :ident, :email, :priv?, :street, :city, :id_code, :reg_no, to: :registrant
|
|
|
|
def initialize(registrant:, view:)
|
|
@registrant = registrant
|
|
@view = view
|
|
end
|
|
|
|
def country
|
|
|
|
end
|
|
|
|
private
|
|
|
|
attr_reader :registrant
|
|
attr_reader :view
|
|
end
|