This makes it possible to override the URLs for development purposes. In my use case I have a mock API that uses a different URL.
Overriding constants is not very pretty. A cleaner solution would be to follow SOLID more strictly, mainly the Open/closed and Dependency inversion principles. But as I have limited time this will do fine for me.
This makes it possible to override the URLs for development purposes. In my use case I have a mock API that uses a different URL.
Overriding constants is not very pretty. A cleaner solution would be to follow SOLID more strictly, mainly the Open/closed and Dependency inversion principles. But as I have limited time this will do fine for me.
Thanks for the package!