Class: Resolv::DNS::Resource::MINFO
- Inherits:
-
Resolv::DNS::Resource
- Object
- Query
- Resolv::DNS::Resource
- Resolv::DNS::Resource::MINFO
- Defined in:
- lib/logstash/patches/resolv_9270.rb
Overview
Mailing list or mailbox information.
Constant Summary collapse
- TypeValue =
:nodoc:
14
Constants inherited from Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes, ClassValue
Instance Attribute Summary collapse
-
#emailbx ⇒ Object
readonly
Mailbox to use for error messages related to the mail list or mailbox.
-
#rmailbx ⇒ Object
readonly
Domain name responsible for this mail list or mailbox.
Attributes inherited from Resolv::DNS::Resource
Class Method Summary collapse
-
.decode_rdata(msg) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#encode_rdata(msg) ⇒ Object
:nodoc:.
-
#initialize(rmailbx, emailbx) ⇒ MINFO
constructor
A new instance of MINFO.
Methods inherited from Resolv::DNS::Resource
Constructor Details
#initialize(rmailbx, emailbx) ⇒ MINFO
Returns a new instance of MINFO.
1967 1968 1969 1970 |
# File 'lib/logstash/patches/resolv_9270.rb', line 1967 def initialize(rmailbx, emailbx) @rmailbx = rmailbx @emailbx = emailbx end |
Instance Attribute Details
#emailbx ⇒ Object (readonly)
Mailbox to use for error messages related to the mail list or mailbox.
1980 1981 1982 |
# File 'lib/logstash/patches/resolv_9270.rb', line 1980 def emailbx @emailbx end |
#rmailbx ⇒ Object (readonly)
Domain name responsible for this mail list or mailbox.
1975 1976 1977 |
# File 'lib/logstash/patches/resolv_9270.rb', line 1975 def rmailbx @rmailbx end |
Class Method Details
.decode_rdata(msg) ⇒ Object
:nodoc:
1987 1988 1989 1990 1991 |
# File 'lib/logstash/patches/resolv_9270.rb', line 1987 def self.decode_rdata(msg) # :nodoc: rmailbx = msg.get_string emailbx = msg.get_string return self.new(rmailbx, emailbx) end |
Instance Method Details
#encode_rdata(msg) ⇒ Object
:nodoc:
1982 1983 1984 1985 |
# File 'lib/logstash/patches/resolv_9270.rb', line 1982 def encode_rdata(msg) # :nodoc: msg.put_name(@rmailbx) msg.put_name(@emailbx) end |