class Tessera::Otrs::Article
Attributes
ArticleSend[RW]
Body[RW]
CommunicationChannel[RW]
ContentType[RW]
From[RW]
Subject[RW]
To[RW]
Public Class Methods
new(from:, to: nil, subject:, body:, communication_channel: 'Email', article_send: 0)
click to toggle source
rubocop:disable Metrics/ParameterLists
# File lib/tessera/otrs/article.rb, line 8 def initialize(from:, to: nil, subject:, body:, communication_channel: 'Email', article_send: 0) @From = from @To = to @Subject = subject @Body = body @ContentType = 'text/plain; charset=utf8' @CommunicationChannel = communication_channel @ArticleSend = article_send end