Class: FacebookSocialPlugins::Plugin::Button

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

Direct Known Subclasses

LikeButton, SendButton, SubscribeButton

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 = {}) ⇒ Button

Returns a new instance of Button.



3
4
5
# File 'lib/facebook-social_plugins/plugin/button.rb', line 3

def initialize options = {}
	super
end

Instance Method Details

#attributesObject

attributes always availabe for a button?



12
13
14
# File 'lib/facebook-social_plugins/plugin/button.rb', line 12

def attributes
	super.merge(:font => fonts, :colorscheme => colorschemes)
end

#plugin_classObject



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

def plugin_class
	super
end