added api_result.rb