Class: Facebooker::GetUnconnectedFriendsCount

Inherits:
Parser
  • Object
show all
Defined in:
lib/facebooker/parser.rb

Constant Summary

Constants inherited from Parser

Parser::PARSERS

Class Method Summary collapse

Methods inherited from Parser

anonymous_field_from, array_of, array_of_hashes, array_of_text_values, booleanize, element, hash_or_value_for, hashinate, parse

Class Method Details

.process(data) ⇒ Object



143
144
145
# File 'lib/facebooker/parser.rb', line 143

def self.process(data)
  hash_or_value_for(element("connect_getUnconnectedFriendsCount_response",data)).to_i
end