Method: Eve::API::Request#response_for

Defined in:
lib/eve/api/request.rb

#response_for(body) ⇒ Object



42
43
44
# File 'lib/eve/api/request.rb', line 42

def response_for(body)
  @response_type == :xml ? Eve::API::Response.new(body, options) : body
end