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.


129
130
131
132
133
134
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 129

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)


123
124
125
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 123

def 
  @user_info
end

#user_info_list_itemsThredded::AllViewHooks::ViewHook (readonly)


125
126
127
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 125

def 
  @user_info_list_items
end

#user_moderation_actionsThredded::AllViewHooks::ViewHook (readonly)


127
128
129
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 127

def user_moderation_actions
  @user_moderation_actions
end

#user_titleThredded::AllViewHooks::ViewHook (readonly)


121
122
123
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 121

def user_title
  @user_title
end