Finished ruby's lib/api.rb