lib/parse/client/response.rb
def batch_responses

      return [@result] unless @batch_response
      # if batch response, generate array based on the response hash.
      @result.map do |r|
        next r unless r.is_a?(Hash)
        hash = r[SUCCESS] || r[ERROR]
        Parse::Response.new hash
      end
    end
def batch_responses

      return [@result] unless @batch_response
      # if batch response, generate array based on the response hash.
      @result.map do |r|
        next r unless r.is_a?(Hash)
        hash = r[SUCCESS] || r[ERROR]
        Parse::Response.new hash
      end
    end
def batch_responses return [ @result ] unless @batch_response # if batch response, generate array based on the response hash. @result . map do | r | next r unless r . is_a? ( Hash ) hash = r [ SUCCESS ] || r [ ERROR ] Parse :: Response . new hash end end
If it is a batch respnose, we'll create an array of Response objects for each
 of the ones in the batch.
 @return [Array] an array of Response objects.
If it is a batch respnose we ll create an array of Response objects for each of the ones in the batch .