David Kimura PRO said over 5 years ago on Service Objects for API Interactions with Twilio :
The services class was done in https://www.driftingruby.com/episodes/rails-api-app-authentication-with-json-web-tokens