Module: Orchestration::DNS

Included in:
Host::Managed, Nic::Managed
Defined in:
app/models/orchestration/dns.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


2
3
4
5
6
7
8
# File 'app/models/orchestration/dns.rb', line 2

def self.included(base)
  base.send :include, InstanceMethods
  base.class_eval do
    after_validation :dns_conflict_detected?, :queue_dns
    before_destroy :queue_dns_destroy
  end
end