Sha256: 6f7b614443c030aa4307f6b49b7c15bc360028ece98934e6cbc0454444255d7e

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

module FacebookSocialPlugins::Plugin
	# Also see AddToTimeline.txt of this gem for example of using OpenGraph with this feature.
	class AddToTimeline < Social
		def initialize options = {}
			super
		end

		def plugin_class
			'fb-add-to-timeline'
		end

		# mode - the display mode - box (default) and button
		# show_faces - whether to show faces
		def attributes
			super.merge(:show_faces => :boolean, :mode => ['box', 'button'])
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facebook-social_plugins-0.2.2 lib/facebook-social_plugins/plugin/add_to_timeline.rb
facebook-social_plugins-0.2.1 lib/facebook-social_plugins/plugin/add_to_timeline.rb
facebook-social_plugins-0.2.0 lib/facebook-social_plugins/plugin/add_to_timeline.rb