Class: Harbor::LogAppenders::Email::TrackedSubject

Inherits:
Object
  • Object
show all
Defined in:
lib/harbor/logging/appenders/email.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#occurancesObject (readonly)

Returns the value of attribute occurances.



75
76
77
# File 'lib/harbor/logging/appenders/email.rb', line 75

def occurances
  @occurances
end

#sent_atObject

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

#subjectObject (readonly)

Returns the value of attribute subject.



75
76
77
# File 'lib/harbor/logging/appenders/email.rb', line 75

def subject
  @subject
end