123456789_123456789_123456789_123456789_123456789_

Class: Resolv::DNS::Resource::MINFO

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Resolv::DNS::Resource
Defined in: lib/resolv.rb

Overview

Mailing list or mailbox information.

Constant Summary

::Resolv::DNS::Resource - Inherited

ClassHash, ClassInsensitiveTypes, ClassValue

Class Method Summary

Instance Attribute Summary

  • #emailbx readonly

    Mailbox to use for error messages related to the mail list or mailbox.

  • #rmailbx readonly

    Domain name responsible for this mail list or mailbox.

::Resolv::DNS::Resource - Inherited

#ttl

Remaining Time To Live for this ::Resolv::DNS::Resource.

Instance Method Summary

Constructor Details

.new(rmailbx, emailbx) ⇒ MINFO

[ GitHub ]

  
# File 'lib/resolv.rb', line 1947

def initialize(rmailbx, emailbx)
  @rmailbx = rmailbx
  @emailbx = emailbx
end

Class Method Details

.decode_rdata(msg)

This method is for internal use only.
[ GitHub ]

  
# File 'lib/resolv.rb', line 1967

def self.decode_rdata(msg) # :nodoc:
  rmailbx = msg.get_string
  emailbx = msg.get_string
  return self.new(rmailbx, emailbx)
end

Instance Attribute Details

#emailbx (readonly)

Mailbox to use for error messages related to the mail list or mailbox.

[ GitHub ]

  
# File 'lib/resolv.rb', line 1960

attr_reader :emailbx

#rmailbx (readonly)

Domain name responsible for this mail list or mailbox.

[ GitHub ]

  
# File 'lib/resolv.rb', line 1955

attr_reader :rmailbx

Instance Method Details

#encode_rdata(msg)

This method is for internal use only.
[ GitHub ]

  
# File 'lib/resolv.rb', line 1962

def encode_rdata(msg) # :nodoc:
  msg.put_name(@rmailbx)
  msg.put_name(@emailbx)
end