<commit_before>class SmsWrapper

    FROM_PHONE = ENV["TWILIO_FROM_PHONE"]
    ACCOUNT_SID = ENV["TWILIO_ACCOUNT_SID"]
    AUTH_TOKEN = ENV["<PASSWORD>AUTH_TOKEN"]

    # set up a client to talk to the Twilio REST API

    def initialize
        @client = Twilio::REST::Client.new ACCOUNT_SID, AUTH_TOKEN
    end

    def send_message(user, view_object)
        begin
            @client.account.messages.create({:from => FROM_PHONE, :to => user.phone_number, :body => view_object.text_body})
        rescue Twilio::REST::RequestError
            puts "Something went wrong with the request"
        end
    end

end<commit_msg>Update sms_wrapper.rb<commit_after>class SmsWrapper
  FROM_PHONE = ENV["TWILIO_FROM_PHONE"]
  ACCOUNT_SID = ENV["TWILIO_ACCOUNT_SID"]
  AUTH_TOKEN = ENV["<PASSWORD>"]

  # set up a client to talk to the Twilio REST API
  def initialize
    @client = Twilio::REST::Client.new ACCOUNT_SID, AUTH_TOKEN
  end

  def send_message(user, view_object)
    begin
      @client.account.messages.create({:from => FROM_PHONE, :to => user.phone_number, :body => view_object.text_body})
    rescue Twilio::REST::RequestError
      puts "Something went wrong with the request"
    end
  end
end
{'fraction_non_alphanumeric': 0.09859154929577464, 'fraction_numerical': 0.0, 'mean_word_length': 3.5757575757575757, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '890246', 'n_tokens_mistral': 415, 'n_tokens_neox': 401, 'n_words': 96}