4 ms·
Good advice. But instead of having an entitlements _system_ and API calls passing through multiple different services returning lists of features a customer is
by domk 4y ago
Good advice. But instead of having an entitlements _system_ and API calls passing through multiple different services returning lists of features a customer is entitled to, you can follow basic OOP principles and write
customer.is_entitled_to("feature")
to abstract the logic away to the same effect.