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.



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

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

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.



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

def from
  @from
end

#idInteger

Returns The email forward ID in DNSimple.

Returns:

  • (Integer)

    The email forward ID in DNSimple.



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

def id
  @id
end

#toString

Returns The full email address to forward to.

Returns:

  • (String)

    The full email address to forward to.



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

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.



23
24
25
# File 'lib/dnsimple/struct/email_forward.rb', line 23

def updated_at
  @updated_at
end