This commit simply implements the load balancer's certificate integration by utilizing the FSMs implemented in the previous commit.
16 lines
239 B
Ruby
16 lines
239 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "../model"
|
|
|
|
class CertsLoadBalancers < Sequel::Model
|
|
many_to_one :cert
|
|
include ResourceMethods
|
|
|
|
def destroy
|
|
DB.transaction do
|
|
cert.incr_destroy
|
|
super
|
|
end
|
|
end
|
|
end
|