Resolv::DNS::Resource::MX

class Resolv::DNS::Resource::MX

Parent:
Resolv::DNS::Resource

Mail Exchanger resource.

Attributes

exchange[R]

The host of this MX-

preference[R]

The preference for this MX-

Public Class Methods

new(preference, exchange) Show source

Creates a new MX record with preference, accepting mail at exchange-

# File lib/resolv.rb, line 1958
def initialize(preference, exchange)
  @preference = preference
  @exchange = exchange
end

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部