Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Resolv::DNS::Resource::CAA.new
new(flags, tag, value)
lib/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/resolv.rb, line 2566
def initialize(flags, tag, value)
unless (0..255) === flags
raise ArgumentError.new('flags must be an Integer between 0 and 255')
end
unless (1..15) === tag.bytesize
raise ArgumentError.new('length of tag must be between 1 and 15')
end
@flags = flags
@tag = tag
@value = value
end
Creates a new CAA for flags, tag and value.
See also
#critical?