Class: LogStruct::Log::ActionMailer::BaseFields
- Inherits:
-
T::Struct
- Object
- T::Struct
- LogStruct::Log::ActionMailer::BaseFields
- Extended by:
- T::Sig
- Defined in:
- lib/log_struct/log/action_mailer.rb
Constant Summary collapse
- Kwargs =
T.type_alias do { to: T.nilable(T::Array[String]), from: T.nilable(String), subject: T.nilable(String), message_id: T.nilable(String), mailer_class: T.nilable(String), mailer_action: T.nilable(String), attachment_count: T.nilable(Integer) } end
Instance Attribute Summary collapse
-
#attachment_count ⇒ Integer?
readonly
Returns the value of prop
attachment_count. -
#from ⇒ String?
readonly
Returns the value of prop
from. -
#mailer_action ⇒ String?
readonly
Returns the value of prop
mailer_action. -
#mailer_class ⇒ String?
readonly
Returns the value of prop
mailer_class. -
#message_id ⇒ String?
readonly
Returns the value of prop
message_id. -
#subject ⇒ String?
readonly
Returns the value of prop
subject. -
#to ⇒ Array<String>?
readonly
Returns the value of prop
to.
Instance Method Summary collapse
- #initialize(to: nil, from: nil, subject: nil, message_id: nil, mailer_class: nil, mailer_action: nil, attachment_count: nil) ⇒ void constructor
- #to_kwargs ⇒ Kwargs
Constructor Details
#initialize(to: nil, from: nil, subject: nil, message_id: nil, mailer_class: nil, mailer_action: nil, attachment_count: nil) ⇒ void
|
|
# File '' const :to, T.nilable(T::Array[String]), default: nil const :from, T.nilable(String), default: nil const :subject, T.nilable(String), default: nil const :message_id, T.nilable(String), default: nil const :mailer_class, T.nilable(String), default: nil const :mailer_action, T.nilable(String), default: nil const :attachment_count, T.nilable(Integer), default: nil |
Instance Attribute Details
#attachment_count ⇒ Integer? (readonly)
Returns the value of prop attachment_count.
|
|
# File '' const :attachment_count, T.nilable(Integer), default: nil |
#from ⇒ String? (readonly)
Returns the value of prop from.
|
|
# File '' const :from, T.nilable(String), default: nil |
#mailer_action ⇒ String? (readonly)
Returns the value of prop mailer_action.
|
|
# File '' const :mailer_action, T.nilable(String), default: nil |
#mailer_class ⇒ String? (readonly)
Returns the value of prop mailer_class.
|
|
# File '' const :mailer_class, T.nilable(String), default: nil |
#message_id ⇒ String? (readonly)
Returns the value of prop message_id.
|
|
# File '' const :message_id, T.nilable(String), default: nil |
#subject ⇒ String? (readonly)
Returns the value of prop subject.
|
|
# File '' const :subject, T.nilable(String), default: nil |
#to ⇒ Array<String>? (readonly)
Returns the value of prop to.
|
|
# File '' const :to, T.nilable(T::Array[String]), default: nil |
Instance Method Details
#to_kwargs ⇒ Kwargs
39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/log_struct/log/action_mailer.rb', line 39 def to_kwargs { to: to, from: from, subject: subject, message_id: , mailer_class: mailer_class, mailer_action: mailer_action, attachment_count: } end |