lib/httpx/transcoder/json.rb in httpx-0.9.0 vs lib/httpx/transcoder/json.rb in httpx-0.10.0

- old
+ new

@@ -8,16 +8,12 @@ module_function class Encoder extend Forwardable - def_delegator :@raw, :to_str - def_delegator :@raw, :to_s def_delegator :@raw, :bytesize - - def_delegator :@raw, :force_encoding def initialize(json) @raw = ::JSON.dump(json) @charset = @raw.encoding.name.downcase end