Sha256: 88f248c8ae457b3a7816fb95fce37cfd82de8491affb6312bfdc1628c5a23555
Contents?: true
Size: 469 Bytes
Versions: 9
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true module DnsMock module Record module Builder class Srv < DnsMock::Record::Builder::Base FACTORY_ARGS_ORDER = %i[priority weight port target].freeze def build records_data.map do |record_data| target_factory.new( record_data: record_data.values_at(*DnsMock::Record::Builder::Srv::FACTORY_ARGS_ORDER) ).create end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems