class HTTParty::ResponseFragment

Allow access to http_response and code by delegation on fragment

def code

def code
  @http_response.code.to_i
end

def initialize(fragment, http_response, connection)

def initialize(fragment, http_response, connection)
  @fragment = fragment
  @http_response = http_response
  @connection = connection
  super fragment
end