Example of How to Work with an API in Ruby