Method: AFMotion::HTTPResult#body

Defined in:
lib/afmotion/http_result.rb

#bodyObject



35
36
37
38
39
40
41
42
# File 'lib/afmotion/http_result.rb', line 35

def body
  if task && task.currentRequest
    raise "Cannot call result.body of a task"
  end
  if operation && operation.responseString
    operation.responseString
  end
end