Class: FacebookSocialPlugins::Plugin::Facepile
- Defined in:
- lib/facebook-social_plugins/plugin/facepile.rb
Instance Attribute Summary
Attributes inherited from Social
Attributes inherited from UiHelper
Instance Method Summary collapse
-
#attributes ⇒ Object
event-app-id - the app id for the event action - the action to perform, fx ‘og_recipebox:planning_to_make’ width - the width of the plugin in pixels.
-
#initialize(options = {}) ⇒ Facepile
constructor
A new instance of Facepile.
- #plugin_class ⇒ Object
Methods inherited from Social
Constructor Details
#initialize(options = {}) ⇒ Facepile
Returns a new instance of Facepile.
3 4 5 |
# File 'lib/facebook-social_plugins/plugin/facepile.rb', line 3 def initialize = {} super end |
Instance Method Details
#attributes ⇒ Object
event-app-id - the app id for the event action - the action to perform, fx ‘og_recipebox:planning_to_make’ width - the width of the plugin in pixels. Minimum recommended width: 400px. href - the referenced page max_rows - max rows to display, 1-10 normally
16 17 18 19 20 |
# File 'lib/facebook-social_plugins/plugin/facepile.rb', line 16 def attributes super.merge(:'event-app-id' => :string, :action => :string, :href => :string, :max_rows => :integer, :size => sizes, :width => :integer ) end |
#plugin_class ⇒ Object
7 8 9 |
# File 'lib/facebook-social_plugins/plugin/facepile.rb', line 7 def plugin_class 'fb-facepile' end |