Class: Thredded::AllViewHooks::PostCommon

Inherits:
Object
  • Object
show all
Defined in:
app/view_hooks/thredded/all_view_hooks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePostCommon

Returns a new instance of PostCommon.



55
56
57
58
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 55

def initialize
  @actions = ViewHook.new
  @mark_as_unread = ViewHook.new
end

Instance Attribute Details

#actionsThredded::AllViewHooks::ViewHook (readonly)



51
52
53
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 51

def actions
  @actions
end

#mark_as_unreadThredded::AllViewHooks::ViewHook (readonly)



53
54
55
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 53

def mark_as_unread
  @mark_as_unread
end