Class: Dnsimple::Struct::EmailForward
- Defined in:
- lib/dnsimple/struct/email_forward.rb
Instance Attribute Summary collapse
-
#active ⇒ Boolean
True if the email forward is active, false otherwise.
-
#alias_email ⇒ String
The receiving email recipient.
-
#created_at ⇒ String
When the email forward was created in DNSimple.
-
#destination_email ⇒ String
The email recipient the messages are delivered to.
-
#domain_id ⇒ Integer
The associated domain ID.
-
#from ⇒ String
deprecated
Deprecated.
use #alias_email instead
-
#id ⇒ Integer
The email forward ID in DNSimple.
-
#to ⇒ String
deprecated
Deprecated.
use #destination_email instead
-
#updated_at ⇒ String
When the email forward was last updated in DNSimple.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#active ⇒ Boolean
Returns True if the email forward is active, false otherwise.
28 29 30 |
# File 'lib/dnsimple/struct/email_forward.rb', line 28 def active @active end |
#alias_email ⇒ String
Returns The receiving email recipient.
22 23 24 |
# File 'lib/dnsimple/struct/email_forward.rb', line 22 def alias_email @alias_email end |
#created_at ⇒ String
Returns When the email forward was created in DNSimple.
31 32 33 |
# File 'lib/dnsimple/struct/email_forward.rb', line 31 def created_at @created_at end |
#destination_email ⇒ String
Returns The email recipient the messages are delivered to.
25 26 27 |
# File 'lib/dnsimple/struct/email_forward.rb', line 25 def destination_email @destination_email end |
#domain_id ⇒ Integer
Returns The associated domain ID.
11 12 13 |
# File 'lib/dnsimple/struct/email_forward.rb', line 11 def domain_id @domain_id end |
#from ⇒ String
use #alias_email instead
Returns The “local part” of the originating email address. Anything to the left of the @ symbol.
15 16 17 |
# File 'lib/dnsimple/struct/email_forward.rb', line 15 def from @from end |
#id ⇒ Integer
Returns The email forward ID in DNSimple.
8 9 10 |
# File 'lib/dnsimple/struct/email_forward.rb', line 8 def id @id end |
#to ⇒ String
use #destination_email instead
Returns The full email address to forward to.
19 20 21 |
# File 'lib/dnsimple/struct/email_forward.rb', line 19 def to @to end |
#updated_at ⇒ String
Returns When the email forward was last updated in DNSimple.
34 35 36 |
# File 'lib/dnsimple/struct/email_forward.rb', line 34 def updated_at @updated_at end |