You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: news_notifications.rb
    path of file: ./repos/linuxfr.org/app/mailers
    
    the code of the file until where you have to start completion: # encoding: UTF-8
#
# This mailer is used to notify news writers when th
    
  def self.refuse_with_message(news, message, template)
    if template
      refuse_template news, message, template
    elsif message == 'no'
      nil
    elsif message == 'en'
      refuse_en news
    elsif message.present?
      refuse news, message
    end