lib/elevate/http/response.rb
# Returns the body of the response.
#
# If the body is JSON-encoded, it will be decoded and returned.
#
# @return [NSData, Hash, Array, nil]
#   response body, if any. If the response is JSON-encoded, the decoded body.
#
# @api public
Returns the body of the response.
If the body is JSON-encoded, it will be decoded and returned.
Returns the body of the response . If the body is JSON - encoded it will be decoded and returned .
def body
      @body ||= begin
        if json?
          NSJSONSerialization.JSONObjectWithData(@raw_body, options: 0, error: nil)
        else
          @raw_body
        end
      end
    end
def body @body ||= begin if json? NSJSONSerialization . JSONObjectWithData ( @raw_body , options : 0 , error : nil ) else @raw_body end end end
Returns the body of the response.
Returns the body of the response .
response body, if any. If the response is JSON-encoded, the decoded body.
response body if any . If the response is JSON - encoded the decoded body .
NSData, Hash, Array, nil
api
None