<commit_before><commit_msg>twilio.rb<commit_after>#gem 'twilio-ruby', '~> 3.12'
require 'rubygems' # not necessary with ruby 1.9 but included for completeness
require 'twilio-ruby'
#require_relative "scraper.rb"


class Run

  def grab_pizza_data
    Grab_Pizza_Info.scrape_cb_site
  end

  # def connect_to_subscriber_list
  # end

  def self.send_text_message
    #DATABASERECORDS
    #View.display
    #TWILIO
    account_sid = 'AC<KEY>'
    auth_token = '<PASSWORD>'
    @client = Twilio::REST::Client.new account_sid, auth_token

    message = @client.account.messages.create(:body => "Jenny please?! I love you <3",
        :to => "+17075145821",
        :from => "+17075145821",
        :media_url => "http://www.example.com/hearts.png")
    puts message.to


  end
end



Run.send_text_message




class View

    def self.display
      p date
      p
      p POD
    #DATABASERECORDS
    end
end
{'fraction_non_alphanumeric': 0.11061946902654868, 'fraction_numerical': 0.030973451327433628, 'mean_word_length': 3.0582959641255605, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '3451328', 'n_tokens_mistral': 357, 'n_tokens_neox': 322, 'n_words': 71}