lib/apitizer/result.rb in apitizer-0.0.1 vs lib/apitizer/result.rb in apitizer-0.0.2

- old
+ new

@@ -4,11 +4,11 @@ def_delegator :@request, :path def_delegator :@response, :code def_delegators :__getobj__, :is_a?, :kind_of?, :instance_of? - def initialize(request:, response:, content:) - super(content) + def initialize(request:, response:) + super(response.content) @request = request @response = response end end end