Method: Esi::Response#initialize

Defined in:
lib/esi/response.rb

#initialize(response, call = nil) ⇒ Response

Returns a new instance of Response.



11
12
13
14
15
# File 'lib/esi/response.rb', line 11

def initialize(response, call=nil)
  @original_response = response
  @call = call
  @data = normalize_results
end