Class: Harbor::LogAppenders::Email::TrackedSubject
- Inherits:
-
Object
- Object
- Harbor::LogAppenders::Email::TrackedSubject
- Defined in:
- lib/harbor/logging/appenders/email.rb
Instance Attribute Summary collapse
-
#occurances ⇒ Object
readonly
Returns the value of attribute occurances.
-
#sent_at ⇒ Object
Returns the value of attribute sent_at.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(subject) ⇒ TrackedSubject
constructor
A new instance of TrackedSubject.
Constructor Details
#initialize(subject) ⇒ TrackedSubject
Returns a new instance of TrackedSubject.
77 78 79 80 |
# File 'lib/harbor/logging/appenders/email.rb', line 77 def initialize(subject) @subject = subject @occurances = [] end |
Instance Attribute Details
#occurances ⇒ Object (readonly)
Returns the value of attribute occurances.
75 76 77 |
# File 'lib/harbor/logging/appenders/email.rb', line 75 def occurances @occurances end |
#sent_at ⇒ Object
Returns the value of attribute sent_at.
74 75 76 |
# File 'lib/harbor/logging/appenders/email.rb', line 74 def sent_at @sent_at end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
75 76 77 |
# File 'lib/harbor/logging/appenders/email.rb', line 75 def subject @subject end |