lib/batch_api/response.rb
# Public: the attributes of the HTTP response.
the attributes of the HTTP response.
the attributes of the HTTP response .
def process_body(body_pieces)
      base_body = ""
      body_pieces.each {|str| base_body << str}
      base_body
    end
def process_body ( body_pieces ) base_body = "" body_pieces . each { | str | base_body << str } base_body end
Public: the attributes of the HTTP response.
Public : the attributes of the HTTP response .
# bodies have to respond to .each, but may otherwise # not be suitable for JSON serialization # (I'm looking at you, ActionDispatch::Response) # so turn it into a string
body_pieces
<not_specific>