Class List Method List File List

# Class: Vertx::MxRecord

Inherits:
  Object
  - Object
  - Vertx::MxRecord
  show all
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/mx_record.rb

## Overview

Represent a Mail-Exchange-Record (MX) which was resolved for a domain.

## Instance Method Summary (collapse)

- - (String) name
  The name of the MX record.
- - (Fixnum) priority
  The priority of the MX record.

## Instance Method Details

### - (`String`) name

The name of the MX record

Returns:

- (`String`)

Raises:

- (`ArgumentError`)

    26
    27
    28
    29
    30
    31
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/mx_record.rb', line 26

    def name
      if !block_given?
        return @j_del.java_method(:name, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling name()"
    end

### - (`Fixnum`) priority

The priority of the MX record.

Returns:

- (`Fixnum`)

Raises:

- (`ArgumentError`)

    18
    19
    20
    21
    22
    23
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/mx_record.rb', line 18

    def priority
      if !block_given?
        return @j_del.java_method(:priority, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling priority()"
    end