Class: Facebooker::PublishTemplatizedAction

Inherits:
Parser
  • Object
show all
Defined in:
lib/facebooker/parser.rb,
lib/facebooker/adapters/bebo_adapter.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_by_key_or_value_for, hash_or_value_for, hashinate, hashinate_by_key, parse

Class Method Details

.process_with_bebo_adapter(data) ⇒ Object Also known as: process



66
67
68
69
70
71
72
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 66

def process_with_bebo_adapter(data)
  if(Facebooker.is_for?(:bebo))
    element('feed_publishTemplatizedAction_response', data).content
  else
    process_without_bebo_adapter(data)
  end
end