mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Updated REPP API for new registrar portal
This commit is contained in:
parent
e17b21436d
commit
a5ffce290d
61 changed files with 1269 additions and 408 deletions
|
@ -17,13 +17,13 @@ class Registrar::DomainListCsvPresenter
|
|||
private
|
||||
|
||||
def header
|
||||
columns = %w(
|
||||
columns = %w[
|
||||
domain_name
|
||||
transfer_code
|
||||
registrant_name
|
||||
registrant_code
|
||||
expire_time
|
||||
)
|
||||
]
|
||||
|
||||
columns.map! { |column| view.t("registrar.domains.index.csv.#{column}") }
|
||||
|
||||
|
@ -37,7 +37,6 @@ class Registrar::DomainListCsvPresenter
|
|||
row[2] = domain.registrant.name
|
||||
row[3] = domain.registrant.code
|
||||
row[4] = domain.expire_date
|
||||
row
|
||||
|
||||
CSV::Row.new([], row)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue