Class: Facebooker::Rails::Publisher::UserAction
- Inherits:
-
Object
- Object
- Facebooker::Rails::Publisher::UserAction
- Defined in:
- lib/facebooker/rails/publisher.rb
Instance Attribute Summary collapse
-
#body_general ⇒ Object
Returns the value of attribute body_general.
-
#data ⇒ Object
Returns the value of attribute data.
-
#story_size ⇒ Object
Returns the value of attribute story_size.
-
#target_ids ⇒ Object
Returns the value of attribute target_ids.
-
#template_id ⇒ Object
Returns the value of attribute template_id.
-
#template_name ⇒ Object
Returns the value of attribute template_name.
Instance Method Summary collapse
Instance Attribute Details
#body_general ⇒ Object
Returns the value of attribute body_general.
223 224 225 |
# File 'lib/facebooker/rails/publisher.rb', line 223 def body_general @body_general end |
#data ⇒ Object
Returns the value of attribute data.
221 222 223 |
# File 'lib/facebooker/rails/publisher.rb', line 221 def data @data end |
#story_size ⇒ Object
Returns the value of attribute story_size.
226 227 228 |
# File 'lib/facebooker/rails/publisher.rb', line 226 def story_size @story_size end |
#target_ids ⇒ Object
Returns the value of attribute target_ids.
222 223 224 |
# File 'lib/facebooker/rails/publisher.rb', line 222 def target_ids @target_ids end |
#template_id ⇒ Object
Returns the value of attribute template_id.
224 225 226 |
# File 'lib/facebooker/rails/publisher.rb', line 224 def template_id @template_id end |
#template_name ⇒ Object
Returns the value of attribute template_name.
225 226 227 |
# File 'lib/facebooker/rails/publisher.rb', line 225 def template_name @template_name end |
Instance Method Details
#data_hash ⇒ Object
230 231 232 233 |
# File 'lib/facebooker/rails/publisher.rb', line 230 def data_hash default_data = story_size.nil? ? {} : {:story_size=>story_size} default_data.merge(data||{}) end |