It's a small library to act as a base service for others to inherit from. It provides a simple way to return a result from a service, and to handle errors.
Calling a service looks like: MyService.call(opt1: "foo", opt2: "bar")
# to use globally from congif/application.rb
require 'base_service'- Build the image:
docker build -t base-service-ruby . - Run the tests:
docker run -it base-service-ruby rake
- Run the tests:
rake
Copyright (c) [2026] [icanmakeitbetter]
This project is licensed under the MIT License.