123456789_123456789_123456789_123456789_123456789_

Class: Gem::Resolv::DNS::SvcParam

Relationships & Source Files
Namespace Children
Classes:
Extension / Inclusion / Inheritance Descendants
Subclasses:
Inherits: Object
Defined in: lib/rubygems/vendor/resolv/lib/resolv.rb

Overview

Base class for SvcParam. [RFC9460]

Constant Summary

Class Method Summary

  • .key_name

    Get the presentation name of the SvcParamKey.

  • .key_number

    Get the registered number of the SvcParamKey.

Class Method Details

.key_name

Get the presentation name of the SvcParamKey.

[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 1812

def self.key_name
  const_get(:KeyName)
end

.key_number

Get the registered number of the SvcParamKey.

[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 1819

def self.key_number
  const_get(:KeyNumber)
end