You already used fluent interfaces multiple times as a Ruby developer. Although you might not have done it consciously. And maybe you haven’t built yourself a class with such API style yet. Let me present you a couple of examples from Ruby and its ecosystem and how I designed such API in my use-case.
After having discussed in the three previous posts about JWT authentication and security, I would like to share two Ruby libraries I made in order to implement these security tips we have discussed so far.