Class: Mailtrap::InboundForwardRule
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::InboundForwardRule
- Defined in:
- lib/mailtrap/inbound_forward_rule.rb
Overview
Data Transfer Object for an inbound forward rule
Instance Attribute Summary collapse
-
#conditions ⇒ Array<InboundForwardRuleCondition>
readonly
The rule conditions.
-
#created_at ⇒ String
readonly
Creation timestamp.
-
#destinations ⇒ Array<InboundForwardRuleDestination>
readonly
The rule destinations.
-
#id ⇒ Integer
readonly
The forward rule ID.
-
#name ⇒ String
readonly
The rule name.
-
#updated_at ⇒ String
readonly
Last update timestamp.
Instance Attribute Details
#conditions ⇒ Array<InboundForwardRuleCondition> (readonly)
The rule conditions
12 13 14 |
# File 'lib/mailtrap/inbound_forward_rule.rb', line 12 def conditions @conditions end |
#created_at ⇒ String (readonly)
Creation timestamp
12 13 14 |
# File 'lib/mailtrap/inbound_forward_rule.rb', line 12 def created_at @created_at end |
#destinations ⇒ Array<InboundForwardRuleDestination> (readonly)
The rule destinations
12 13 14 |
# File 'lib/mailtrap/inbound_forward_rule.rb', line 12 def destinations @destinations end |
#id ⇒ Integer (readonly)
The forward rule ID
12 13 14 |
# File 'lib/mailtrap/inbound_forward_rule.rb', line 12 def id @id end |
#name ⇒ String (readonly)
The rule name
12 13 14 |
# File 'lib/mailtrap/inbound_forward_rule.rb', line 12 def name @name end |
#updated_at ⇒ String (readonly)
Last update timestamp
12 13 14 |
# File 'lib/mailtrap/inbound_forward_rule.rb', line 12 def updated_at @updated_at end |