Skip to content

Instantly share code, notes, and snippets.

Created Jan 10, 2021
What would you like to do?
Share password using inherited send_sms module
class Password
belongs_to :group_service
include TwilioControls
def share_password(user, to_phone_number)
body = "#{user.display_full_name} has shared a password!\n
Service Name: #{}
Username: #{self.group_service.service_username}
Password: #{self.password}"
send_sms(to_phone_number, body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment