mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Transfer refactor
This commit is contained in:
parent
611130addc
commit
ad03165546
13 changed files with 172 additions and 18 deletions
13
app/models/domain_transfer.rb
Normal file
13
app/models/domain_transfer.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
class DomainTransfer < ActiveRecord::Base
|
||||
belongs_to :domain
|
||||
|
||||
belongs_to :transfer_from, class_name: 'Registrar'
|
||||
belongs_to :transfer_to, class_name: 'Registrar'
|
||||
|
||||
PENDING = 'pending'
|
||||
CLIENT_APPROVED = 'clientApproved'
|
||||
CLIENT_CANCELLED = 'clientCancelled'
|
||||
CLIENT_REJECTED = 'clientRejected'
|
||||
SERVER_APPROVED = 'serverApproved'
|
||||
SERVER_CANCELLED = 'serverCancelled'
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue