Class: ToLine
- Inherits:
-
Object
- Object
- ToLine
- Defined in:
- lib/fluent/plugin/sendmailparser.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, record) ⇒ ToLine
constructor
A new instance of ToLine.
Constructor Details
#initialize(status, record) ⇒ ToLine
Returns a new instance of ToLine.
128 129 130 131 132 |
# File 'lib/fluent/plugin/sendmailparser.rb', line 128 def initialize(status, record) @status = status @record = record @record["canonical_status"] = status.to_s end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
127 128 129 |
# File 'lib/fluent/plugin/sendmailparser.rb', line 127 def record @record end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
126 127 128 |
# File 'lib/fluent/plugin/sendmailparser.rb', line 126 def status @status end |