module Feedbacker::RemarkMethods

Public Class Methods

included(base) click to toggle source
# File lib/feedbacker/remark_methods.rb, line 3
def self.included(base)
  base.class_eval do
    belongs_to :user
  end
end

Public Instance Methods

user_name() click to toggle source
# File lib/feedbacker/remark_methods.rb, line 9
def user_name
  return user.send(Feedbacker::SETTINGS.user_name_method)
end