Class: Facebooker::PublishUserAction

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

Overview

:nodoc:

Constant Summary

Constants inherited from Parser

Facebooker::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



239
240
241
# File 'lib/facebooker/parser.rb', line 239

def self.process(data)
  element('feed_publishUserAction_response', data).children[1].content.strip == "1"
end