class TwilioMessage
  def self.send(number, joke)
    client.messages.create(
      from: Figaro.env.twilio_phone_number,
      to: number,
      body: joke
    )
  end

  def self.activate(number)
    client.messages.create(
      from: Figaro.env.twilio_phone_number,
      to: number,
      body: "Welcome to Kackle!"
    )
  end

  private

  def self.client
    Twilio::REST::Client.new(Figaro.env.twilio_account_sid, Figaro.env.twilio_auth_token)
  end
end


class TwilioMessage
  def self.send(number, joke)
    client.messages.create(
      from: Figaro.env.twilio_phone_number,
      to: number,
      body: joke
    )
  end

  def self.activate(number)
    client.messages.create(
      from: Figaro.env.twilio_phone_number,
      to: number,
      body: "Welcome to Kackle! Respond with 'no' if you believe you received this message in error."
    )
  end

  private

  def self.client
    Twilio::REST::Client.new(Figaro.env.twilio_account_sid, Figaro.env.twilio_auth_token)
  end
end


Update subscription message to tell users how to unsubscribe
Update subscription message to tell users how to unsubscribe

Update subscribe message to reflect new functionality

Update subscription message
