Sooner or later, all developers are required to interact with an API. The most difficult part is always related to reliably testing the code we write, and, as we want to make sure that everything works properly, we continuosly run code that queries the API itself. This process is slow and inefficient, as we can experience network issues and data inconsistencies (the API results may change). Let’s
![Writing an API Wrapper in Ruby with TDD | Envato Tuts+](https://cdn-ak-scissors.b.st-hatena.com/image/square/ceee297d0e3da086ac1de87f2a78a038a8553107/height=288;version=1;width=512/https%3A%2F%2Fcdn.tutsplus.com%2Fnet%2Fuploads%2Flegacy%2F1129_api_wrapper_tdd%2Fapi-wrapper-for-dribbble.png)