Class: Dnsimple::Struct::EmailForward

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/email_forward.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#created_atString

Returns When the email forward was created in DNSimple.

Returns:

  • (String)

    When the email forward was created in DNSimple.



18
19
20
# File 'lib/dnsimple/struct/email_forward.rb', line 18

def created_at
  @created_at
end

#domain_idFixnum

Returns The associated domain ID.

Returns:

  • (Fixnum)

    The associated domain ID.



9
10
11
# File 'lib/dnsimple/struct/email_forward.rb', line 9

def domain_id
  @domain_id
end

#fromString

Returns The “local part” of the originating email address. Anything to the left of the @ symbol.

Returns:

  • (String)

    The “local part” of the originating email address. Anything to the left of the @ symbol.



12
13
14
# File 'lib/dnsimple/struct/email_forward.rb', line 12

def from
  @from
end

#idFixnum

Returns The email forward ID in DNSimple.

Returns:

  • (Fixnum)

    The email forward ID in DNSimple.



6
7
8
# File 'lib/dnsimple/struct/email_forward.rb', line 6

def id
  @id
end

#toString

Returns The full email address to forward to.

Returns:

  • (String)

    The full email address to forward to.



15
16
17
# File 'lib/dnsimple/struct/email_forward.rb', line 15

def to
  @to
end

#updated_atString

Returns Then the email forward was last updated in DNSimple.

Returns:

  • (String)

    Then the email forward was last updated in DNSimple.



21
22
23
# File 'lib/dnsimple/struct/email_forward.rb', line 21

def updated_at
  @updated_at
end