mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Save legal document with keyrelay
This commit is contained in:
parent
c91c9c8ebf
commit
efad36929e
4 changed files with 48 additions and 2 deletions
|
@ -6,6 +6,8 @@ class Keyrelay < ActiveRecord::Base
|
|||
belongs_to :requester, class_name: 'Registrar'
|
||||
belongs_to :accepter, class_name: 'Registrar'
|
||||
|
||||
has_many :legal_documents, as: :documentable
|
||||
|
||||
delegate :name, to: :domain, prefix: true
|
||||
|
||||
validates :expiry_relative, duration_iso8601: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue