Class: Facebooker::Rails::Publisher::UserAction

Inherits:
Object
  • Object
show all
Defined in:
lib/facebooker/rails/publisher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#body_generalObject

Returns the value of attribute body_general.



223
224
225
# File 'lib/facebooker/rails/publisher.rb', line 223

def body_general
  @body_general
end

#dataObject

Returns the value of attribute data.



221
222
223
# File 'lib/facebooker/rails/publisher.rb', line 221

def data
  @data
end

#story_sizeObject

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_idsObject

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_idObject

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_nameObject

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_hashObject



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