Module: DnsMock::Record::Builder
- Defined in:
- lib/dns_mock/core.rb,
lib/dns_mock/record/builder/a.rb,
lib/dns_mock/record/builder/mx.rb,
lib/dns_mock/record/builder/ns.rb,
lib/dns_mock/record/builder/ptr.rb,
lib/dns_mock/record/builder/soa.rb,
lib/dns_mock/record/builder/srv.rb,
lib/dns_mock/record/builder/txt.rb,
lib/dns_mock/record/builder/aaaa.rb,
lib/dns_mock/record/builder/base.rb,
lib/dns_mock/record/builder/cname.rb
Defined Under Namespace
Classes: Base, Mx, Soa, Srv
Constant Summary
collapse
- A =
::Class.new(DnsMock::Record::Builder::Base)
- Ns =
::Class.new(DnsMock::Record::Builder::Base)
- Ptr =
::Class.new(DnsMock::Record::Builder::Base)
- Txt =
::Class.new(DnsMock::Record::Builder::Base)
- Aaaa =
::Class.new(DnsMock::Record::Builder::Base)
- Cname =
::Class.new(DnsMock::Record::Builder::Base) do
def build
[target_factory.new(record_data: records_data).create]
end
end