Tagged in

Rubygems

chunks of code*
chunks of code*
Articles chronicling stuff I do with code which may serve as tutorials (if anybody finds them useful)
More information
Followers
7
More, on Medium

Simpler parameter handling for Interactors

At BuyCoins, we use the Interactor gem for business logic. It works like this:

Say you have an Interactor called SendCoins. You call can trigger it’s functionality by doing

SendCoins.call(amount: 0.5…