Class Facebooker::FqlQuery
In: lib/facebooker/parser.rb
Parent: Parser

Methods

process  

Public Class methods

[Source]

# File lib/facebooker/parser.rb, line 525
    def self.process(data)
      root = element('fql_query_response', data)
      first_child = root.children.reject{|c| c.text? }.first
      first_child.nil? ? [] : [first_child.name, array_of_hashes(root, first_child.name)]
    end

[Validate]