Added:
require "OpenSSL"
to client_api.rb