Class: MessageThread
- Inherits:
-
Common::Base
- Object
- Common::Base
- MessageThread
- Defined in:
- app/models/message_thread.rb
Instance Attribute Summary
Attributes inherited from Common::Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ MessageThread
constructor
A new instance of MessageThread.
Methods inherited from Common::Base
#changed, #changed?, #changes, default_sort, filterable_attributes, max_per_page, per_page, sortable_attributes
Constructor Details
#initialize(attributes = {}) ⇒ MessageThread
Returns a new instance of MessageThread.
26 27 28 29 |
# File 'app/models/message_thread.rb', line 26 def initialize(attributes = {}) super(attributes) self.subject = subject ? Nokogiri::HTML.parse(subject) : nil end |