lib/httpx/transcoder/body.rb in httpx-0.15.4 vs lib/httpx/transcoder/body.rb in httpx-0.16.0
- old
+ new
@@ -2,10 +2,10 @@
require "forwardable"
module HTTPX::Transcoder
module Body
- Error = Class.new(HTTPX::Error)
+ class Error < HTTPX::Error; end
module_function
class Encoder
extend Forwardable