Class: Thredded::AllViewHooks::ModerationUserPage

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

#initializeModerationUserPage

Returns a new instance of ModerationUserPage.



105
106
107
108
109
110
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 105

def initialize
  @user_title = ViewHook.new
  @user_info = ViewHook.new
  @user_info_list_items = ViewHook.new
  @user_moderation_actions = ViewHook.new
end

Instance Attribute Details

#user_infoThredded::AllViewHooks::ViewHook (readonly)



99
100
101
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 99

def 
  @user_info
end

#user_info_list_itemsThredded::AllViewHooks::ViewHook (readonly)



101
102
103
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 101

def 
  @user_info_list_items
end

#user_moderation_actionsThredded::AllViewHooks::ViewHook (readonly)



103
104
105
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 103

def user_moderation_actions
  @user_moderation_actions
end

#user_titleThredded::AllViewHooks::ViewHook (readonly)



97
98
99
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 97

def user_title
  @user_title
end