Sha256: 42d5f20e3cb760f7291021ee54c6e3d7b932a495e25ed24e5ee900bbe1e70e1a
Contents?: true
Size: 231 Bytes
Versions: 1
Compression:
Stored size: 231 Bytes
Contents
class Matchd::Response::TXT < Matchd::Response def initialize(opts) super @txt = opts.is_a?(Hash) ? opts.fetch("txt") : opts end attr_reader :txt def resource Resolv::DNS::Resource::IN::TXT.new(txt) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
matchd-0.1.0 | lib/matchd/response/txt.rb |