commit | 159383f789651150ae33748d7d68ef22108d614c | [log] [tgz] |
---|---|---|
author | Kevin Clark <kclark@apache.org> | Tue Nov 11 05:46:04 2008 +0000 |
committer | Kevin Clark <kclark@apache.org> | Tue Nov 11 05:46:04 2008 +0000 |
tree | 6d32b537b0d184dbe054fe13b474a16bff90faf1 | |
parent | 74421273ad97359402556428f23afacfe31ce978 [diff] [blame] |
rb: raise if an object is serialized without required fields [THRIFT-143] git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@712945 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/benchmark/gen-rb/BenchmarkService.rb b/lib/rb/benchmark/gen-rb/BenchmarkService.rb index 7d39882..2c3ae4f 100644 --- a/lib/rb/benchmark/gen-rb/BenchmarkService.rb +++ b/lib/rb/benchmark/gen-rb/BenchmarkService.rb
@@ -52,6 +52,9 @@ FIELDS = { N => {:type => Thrift::Types::BYTE, :name => 'n'} } + def validate + end + end class Fibonacci_result @@ -62,6 +65,9 @@ FIELDS = { SUCCESS => {:type => Thrift::Types::I32, :name => 'success'} } + def validate + end + end end