Method: Facebooker::BatchRun.process
- Defined in:
- lib/facebooker/parser.rb
.process(data) ⇒ Object
313 314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/facebooker/parser.rb', line 313 def self.process(data) array_of_text_values(element('batch_run_response',data),"batch_run_response_elt").each_with_index do |response,i| batch_request=current_batch[i] body=Struct.new(:body).new body.body=response begin batch_request.result=Parser.parse(batch_request.method,body) rescue Exception=>ex batch_request.exception_raised=ex end end end |