Class: FacebookSocialPlugins::Plugin::Facepile

Inherits:
Social show all
Defined in:
lib/facebook-social_plugins/plugin/facepile.rb

Instance Attribute Summary

Attributes inherited from Social

#options

Attributes inherited from UiHelper

#html, #javascript

Instance Method Summary collapse

Methods inherited from Social

#render, #validate!

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 options = {}
	super
end

Instance Method Details

#attributesObject

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_classObject



7
8
9
# File 'lib/facebook-social_plugins/plugin/facepile.rb', line 7

def plugin_class
	'fb-facepile'
end