<commit_before>require 'twilio-ruby'
module Services
  module Notifications
    class Sms
      attr_reader :payload, :phone, :twilio_client

      def initialize(payload = {}, phone)
        @payload = payload
        @phone = phone
        @twilio_client = Twilio::REST::Client.new ENV['TWILIO_ACCOUNT_SID'], ENV["TWILIO_ACCOUNT_TOKEN"]
      end

      def send_message

        twilio_client.account.messages.create(
          from: "+17792054810",
          to: phone,
          body: payload[:body]
        )<commit_msg>upda sig<commit_after>require 'twilio-ruby'
module Services
  module Notifications
    class Sms
      attr_reader :payload, :phone, :twilio_client

      def initialize(payload = {}, phone)
        @payload = payload
        @phone = phone
        @twilio_client = Twilio::REST::Client.new ENV['TWILIO_ACCOUNT_SID'], ENV["TWILIO_ACCOUNT_TOKEN"]
      end

      def send_message

        twilio_client.account.messages.create(
          from: ENV['TWILIO_NUMBER'],
          to: phone,
          body: payload[:body]
        )
{'fraction_non_alphanumeric': 0.10161443494776828, 'fraction_numerical': 0.010446343779677113, 'mean_word_length': 2.5850340136054424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5158729', 'n_tokens_mistral': 340, 'n_tokens_neox': 317, 'n_words': 67}