Class: Facebooker::PublishTemplatizedAction
- Defined in:
- lib/facebooker/parser.rb,
lib/facebooker/adapters/bebo_adapter.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Parser
Class Method Summary collapse
Methods inherited from Parser
anonymous_field_from, array_of, array_of_hashes, array_of_text_values, element, hash_or_value_for, hashinate, parse
Class Method Details
.process(data) ⇒ Object
185 186 187 |
# File 'lib/facebooker/parser.rb', line 185 def self.process(data) element('feed_publishTemplatizedAction_response', data).children[1].text_value end |
.process_with_bebo_adapter(data) ⇒ Object
63 64 65 66 67 68 69 |
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 63 def process_with_bebo_adapter(data) if(Facebooker.is_for?(:bebo)) element('feed_publishTemplatizedAction_response', data).text_value else process_without_bebo_adapter(data) end end |