Class: Mailtrap::InboundForwardRuleCondition

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailtrap/inbound_forward_rule_condition.rb

Overview

Data Transfer Object for an inbound forward rule condition

Instance Attribute Summary collapse

Instance Attribute Details

#header_key ⇒ String? (readonly)

The header name

Returns:

  • (String, nil) —

    the current value of header_key



10
11
12
# File 'lib/mailtrap/inbound_forward_rule_condition.rb', line 10

def header_key
  @header_key
end

#match_type ⇒ String (readonly)

The match type

Returns:

  • (String) —

    the current value of match_type



10
11
12
# File 'lib/mailtrap/inbound_forward_rule_condition.rb', line 10

def match_type
  @match_type
end

#operator ⇒ String (readonly)

The comparison operator

Returns:

  • (String) —

    the current value of operator



10
11
12
# File 'lib/mailtrap/inbound_forward_rule_condition.rb', line 10

def operator
  @operator
end

#value ⇒ String? (readonly)

The value to compare against

Returns:

  • (String, nil) —

    the current value of value



10
11
12
# File 'lib/mailtrap/inbound_forward_rule_condition.rb', line 10

def value
  @value
end