Sha256: 8eec715beb3c643748618b99a2ef2b5c024480e5c8d48cde20077b4ba279580a

Contents?: true

Size: 840 Bytes

Versions: 3

Compression:

Stored size: 840 Bytes

Contents

module FacebookSocialPlugins::Plugin
	class LoginButton < Social
		def initialize options = {}
			super
		end

		def plugin_class
			'fb-login-button'
		end

		# show-faces - specifies whether to show faces underneath the Login button.
		# width - the width of the plugin in pixels. Default width: 200px.
		# max-rows - the maximum number of rows of profile pictures to display. Default value: 1.
		# scope - a comma separated list of extended permissions. 
		# 				By default the Login button prompts users for their public information. 
		#  				If your application needs to access other parts of the user's profile that may be 
		#					private, your application can request extended permissions. 
		def attributes
			super.merge(:'show-faces' => :boolean, :'max-rows' => :integer, :scope => :array, :width => :integer)
		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/login_button.rb
facebook-social_plugins-0.2.1 lib/facebook-social_plugins/plugin/login_button.rb
facebook-social_plugins-0.2.0 lib/facebook-social_plugins/plugin/login_button.rb