Method: Facebooker::Feed::TemplatizedAction#to_params

Defined in:
lib/facebooker/feed.rb

#to_paramsObject



41
42
43
44
45
46
47
48
49
50
# File 'lib/facebooker/feed.rb', line 41

def to_params
 raise "Must set title_template" if self.title_template.nil?
 { :page_actor_id => page_actor_id, 
   :title_template => title_template, 
   :title_data => convert_json(title_data),
   :body_template => body_template, 
   :body_data => convert_json(body_data), 
   :body_general => body_general,
   :target_ids => target_ids }.merge image_params
end