module FacebookSocialPlugins

Public Class Methods

all_plugins() click to toggle source
# File lib/facebook-social_plugins.rb, line 16
def self.all_plugins
        ['ui_helper', 'social', 'button'] + plugins
end
helpers() click to toggle source
# File lib/facebook-social_plugins.rb, line 20
def self.helpers
        ['script', 'view', 'open_graph']
end
plugin(name, options = {}) click to toggle source
# File lib/facebook-social_plugins.rb, line 24
def self.plugin name, options = {}
        klass = "FacebookSocialPlugins::Plugin::#{name.to_s.camelize}".constantize
        klass.new(options).render
end
plugins() click to toggle source
# File lib/facebook-social_plugins.rb, line 8
def self.plugins
        [
                'activity_feed', 'add_to_timeline', 'comments', 'facepile', 
                'like_box', 'like_button', 'live_stream', 'login_button', 'recommendations_box', 
                'registration', 'send_button', 'subscribe_button'
        ]
end