mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Domain info under history
This commit is contained in:
parent
401a193c8f
commit
c4f6ad0bd9
6 changed files with 43 additions and 67 deletions
|
@ -99,7 +99,12 @@ class Domain < ActiveRecord::Base
|
|||
def make_snapshot
|
||||
{
|
||||
name: name,
|
||||
status: status
|
||||
status: status,
|
||||
period: period,
|
||||
period_unit: period_unit,
|
||||
registrar_id: registrar.try(:id),
|
||||
valid_to: valid_to,
|
||||
valid_from: valid_from
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue