lib/recurly/http.rb in recurly-3.4.0 vs lib/recurly/http.rb in recurly-3.4.1

- old
+ new

@@ -5,10 +5,10 @@ :request_id, :rate_limit, :rate_limit_remaining, :rate_limit_reset, :date, :proxy_metadata, :content_type def initialize(resp, request) - @request = request + @request = Request.new(request.method, request.path, request.body) @status = resp.code.to_i @request_id = resp["x-request-id"] @rate_limit = resp["x-ratelimit-limit"].to_i @rate_limit_remaining = resp["x-ratelimit-remaining"].to_i @rate_limit_reset = Time.at(resp["x-ratelimit-reset"].to_i).to_datetime