全新构建一个 XML
builder = Nokogiri::XML::Builder.new(:encoding => 'UTF-8') do |xml| xml.envelope { xml.header(:identifier => 'IDENTIFIER') { xml.type('TYPE') } xml.content } end
Apache Thrift 是 Facebook 实现的一种高效的、支持多种编程语言的远程服务调用的框架。 详情参考官方文档
namespace rb model struct User { 1: i32 id, 2: string name, } service UserStorage { void set_user(1: User user), User get_user(1: i32 id), }
« Prev Page
Java Ruby Others Database Spring Boot
Copyright © 2015 Powered by MWeb, Theme used GitHub CSS.