This morning, after walking the dogs, I cranked out a little under 200 lines of code that implements basically all of it in a bunch of small, testable, easy to reason about methods.
Haven't written tests yet, but this afternoon I actually used the new lib and have working, configurable, easy to use, #Meilisearch integration for #Mongoid backed models.