Class: Thredded::AllViewHooks::PostCommon
- Inherits:
-
Object
- Object
- Thredded::AllViewHooks::PostCommon
- Defined in:
- app/view_hooks/thredded/all_view_hooks.rb
Instance Attribute Summary collapse
- #actions ⇒ Thredded::AllViewHooks::ViewHook readonly
- #mark_as_unread ⇒ Thredded::AllViewHooks::ViewHook readonly
Instance Method Summary collapse
-
#initialize ⇒ PostCommon
constructor
A new instance of PostCommon.
Constructor Details
#initialize ⇒ PostCommon
Returns a new instance of PostCommon.
64 65 66 67 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 64 def initialize @actions = ViewHook.new @mark_as_unread = ViewHook.new end |
Instance Attribute Details
#actions ⇒ Thredded::AllViewHooks::ViewHook (readonly)
60 61 62 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 60 def actions @actions end |
#mark_as_unread ⇒ Thredded::AllViewHooks::ViewHook (readonly)
62 63 64 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 62 def mark_as_unread @mark_as_unread end |