Method: HTTParty::ResponseFragment#initialize

Defined in:
lib/httparty/response_fragment.rb

#initialize(fragment, http_response, connection) ⇒ ResponseFragment

Returns a new instance of ResponseFragment.



14
15
16
17
18
19
# File 'lib/httparty/response_fragment.rb', line 14

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