# frozen_string_literal: true

module VulnerabilityExternalIssueLinks
  class DestroyService < BaseService
    def initialize(vulnerability_external_issue_link)
      @vulnerability_external_issue_link = vulnerability_external_issue_link
    end

    def execute
      vulnerability_external_issue_link.destroy
    end

    private

    attr_reader :vulnerability_external_issue_link
  end
end
