🚨Fix Rubocop lint errors
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class Messages::Outgoing::NormalBuilder
|
||||
attr_reader :message
|
||||
|
||||
def initialize user, conversation, params
|
||||
def initialize(user, conversation, params)
|
||||
@content = params[:message]
|
||||
@private = ["1","true",1].include? params[:private]
|
||||
@private = ['1', 'true', 1].include? params[:private]
|
||||
@conversation = conversation
|
||||
@user = user
|
||||
@fb_id = params[:fb_id]
|
||||
|
||||
Reference in New Issue
Block a user