lib/bertrpc/encodes.rb in bertrpc-0.2.0 vs lib/bertrpc/encodes.rb in bertrpc-0.3.0
- old
+ new
@@ -8,9 +8,11 @@
def decode_bert_response(bert_response)
ruby_response = Erlectricity::Decoder.decode(bert_response)
case ruby_response[0]
when :reply
deconvert(ruby_response[1])
+ when :noreply
+ nil
when :error
error(ruby_response[1])
else
raise
end
\ No newline at end of file