Sha256: 448b1b8baaf6c3f8859967b8981e4f0df1607a247f0b4b0037ff7d066eb73fcc

Contents?: true

Size: 300 Bytes

Versions: 9

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

module DnsMock
  module Record
    module Factory
      Srv = ::Class.new(DnsMock::Record::Factory::Base) do
        record_type :srv

        def instance_params
          record_data[0..-2] << create_dns_name(record_data.last)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dns_mock-1.7.6 lib/dns_mock/record/factory/srv.rb
dns_mock-1.7.5 lib/dns_mock/record/factory/srv.rb
dns_mock-1.7.4 lib/dns_mock/record/factory/srv.rb
dns_mock-1.7.3 lib/dns_mock/record/factory/srv.rb
dns_mock-1.7.1 lib/dns_mock/record/factory/srv.rb
dns_mock-1.7.0 lib/dns_mock/record/factory/srv.rb
dns_mock-1.6.2 lib/dns_mock/record/factory/srv.rb
dns_mock-1.6.1 lib/dns_mock/record/factory/srv.rb
dns_mock-1.6.0 lib/dns_mock/record/factory/srv.rb