Sha256: 2572f0b27a846239fd63351e98da5e2513fd27ce4fd2f89df3de7ca1f558cbd2

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

module FacebookSocialPlugins
	# Also see AddToTimeline.txt of this gem for example of using OpenGraph with this feature.
	class AddToTimeline < SocialPlugin
		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

4 entries across 4 versions & 1 rubygems

Version Path
facebook-social_plugins-0.1.3 lib/facebook-social_plugins/add_to_timeline.rb
facebook-social_plugins-0.1.2 lib/facebook-social_plugins/add_to_timeline.rb
facebook-social_plugins-0.1.1 lib/facebook-social_plugins/add_to_timeline.rb
facebook-social_plugins-0.1.0 lib/facebook-social_plugins/add_to_timeline.rb