6 lines
122 B
Ruby
6 lines
122 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
def header_value(name, message)
|
||
|
message.header.fields.find { _1.name == name }.value
|
||
|
end
|