Skip to content

Instantly share code, notes, and snippets.

View dmbf29's full-sized avatar

Douglas Berkley dmbf29

View GitHub Profile
@dmbf29
dmbf29 / send_sms_service.rb
Created August 6, 2022 02:27
Twilio Sms Service object
require 'twilio-ruby'
class SendSmsService
def initialize(message)
@message = message
# probably pass in the user as well so you can get the phone number?
end
def call
client = Twilio::REST::Client.new(ACCOUNT_SID, AUTH_TOKEN)
@dmbf29
dmbf29 / project_readme_template.md
Last active March 18, 2024 11:04
README template to get you started on a Rails application