mocktools/ruby-dns-mock

View on GitHub
lib/dns_mock/record/builder/cname.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module DnsMock
  module Record
    module Builder
      Cname = ::Class.new(DnsMock::Record::Builder::Base) do
        def build
          [target_factory.new(record_data: records_data).create]
        end
      end
    end
  end
end