Class: DnsMock::Record::Builder::Soa
- Defined in:
- lib/dns_mock/record/builder/soa.rb
Constant Summary collapse
- FACTORY_ARGS_ORDER =
%i[mname rname serial refresh retry expire minimum].freeze
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from DnsMock::Record::Builder::Base
Instance Method Details
#build ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/dns_mock/record/builder/soa.rb', line 9 def build records_data.map do |record_data| target_factory.new( record_data: record_data.values_at(*DnsMock::Record::Builder::Soa::FACTORY_ARGS_ORDER) ).create end end |