lib/hyperion/formats.rb in hyperion_http-0.1.6 vs lib/hyperion/formats.rb in hyperion_http-0.1.7

- old
+ new

@@ -29,9 +29,10 @@ return bytes if format.nil? case Formats.get_from(format) when :json; read_json(bytes) when :protobuf; bytes + when Multipart.format; bytes # currently only used for testing purposes else; fail "Unsupported format: #{format}" end end def self.get_from(x)