Class: FacebookSocialPlugins::Plugin::SubscribeButton
Instance Attribute Summary
Attributes inherited from Social
Attributes inherited from UiHelper
Instance Method Summary collapse
-
#attributes ⇒ Object
show_faces - specifies whether to display profile photos below the button (standard layout only) colorscheme - the color scheme for the plugin.
-
#initialize(options = {}) ⇒ SubscribeButton
constructor
A new instance of SubscribeButton.
- #plugin_class ⇒ Object
Methods inherited from Social
Constructor Details
#initialize(options = {}) ⇒ SubscribeButton
Returns a new instance of SubscribeButton.
3 4 5 |
# File 'lib/facebook-social_plugins/plugin/subscribe_button.rb', line 3 def initialize = {} super end |
Instance Method Details
#attributes ⇒ Object
show_faces - specifies whether to display profile photos below the button (standard layout only) colorscheme - the color scheme for the plugin. Options: ‘light’ (default) and ‘dark’ font - the font to display in the plugin. Options: ‘arial’, ‘lucida grande’, ‘segoe ui’, ‘tahoma’, ‘trebuchet ms’, ‘verdana’ width - the width of the plugin.
20 21 22 23 |
# File 'lib/facebook-social_plugins/plugin/subscribe_button.rb', line 20 def attributes super.merge(:href => :string, :layout => layouts, :show_faces => :boolean, :width => :integer) end |
#plugin_class ⇒ Object
7 8 9 |
# File 'lib/facebook-social_plugins/plugin/subscribe_button.rb', line 7 def plugin_class 'fb-subscribe' end |