David Kimura PRO said almost 6 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