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