Class: Mailtrap::InboundForwardOutcome
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::InboundForwardOutcome
- Defined in:
- lib/mailtrap/inbound_forward_outcome.rb
Overview
Data Transfer Object for an inbound forward outcome
Instance Attribute Summary collapse
-
#destination ⇒ String
readonly
The destination address.
-
#message_id ⇒ String?
readonly
The forwarded message ID.
-
#reason ⇒ String?
readonly
The rejection reason.
-
#rule_id ⇒ Integer
readonly
The forward rule ID.
-
#rule_name ⇒ String?
readonly
The forward rule name.
-
#status ⇒ String
readonly
forwarded or rejected.
Instance Attribute Details
#destination ⇒ String (readonly)
The destination address
12 13 14 |
# File 'lib/mailtrap/inbound_forward_outcome.rb', line 12 def destination @destination end |
#message_id ⇒ String? (readonly)
The forwarded message ID
12 13 14 |
# File 'lib/mailtrap/inbound_forward_outcome.rb', line 12 def @message_id end |
#reason ⇒ String? (readonly)
The rejection reason
12 13 14 |
# File 'lib/mailtrap/inbound_forward_outcome.rb', line 12 def reason @reason end |
#rule_id ⇒ Integer (readonly)
The forward rule ID
12 13 14 |
# File 'lib/mailtrap/inbound_forward_outcome.rb', line 12 def rule_id @rule_id end |
#rule_name ⇒ String? (readonly)
The forward rule name
12 13 14 |
# File 'lib/mailtrap/inbound_forward_outcome.rb', line 12 def rule_name @rule_name end |
#status ⇒ String (readonly)
forwarded or rejected
12 13 14 |
# File 'lib/mailtrap/inbound_forward_outcome.rb', line 12 def status @status end |