Class: IControl::Management::MXRecord

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management.rb,
lib/icontrol/management.rb

Overview

struct that describes a DNS "MX“ Record

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

The domain name of the record

Returns:

  • (String)

    the current value of domain_name


198
199
200
# File 'lib/icontrol/management.rb', line 198

def domain_name
  @domain_name
end

#mailString

The mail-exchanger for this record

Returns:

  • (String)

    the current value of mail


198
199
200
# File 'lib/icontrol/management.rb', line 198

def mail
  @mail
end

#preferenceNumeric

The preference to use for this record

Returns:

  • (Numeric)

    the current value of preference


198
199
200
# File 'lib/icontrol/management.rb', line 198

def preference
  @preference
end

#ttlNumeric

The TTL for this record

Returns:

  • (Numeric)

    the current value of ttl


198
199
200
# File 'lib/icontrol/management.rb', line 198

def ttl
  @ttl
end