class FacebookSocialPlugins::Plugin::RecommendationsBox

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method
# File lib/facebook-social_plugins/plugin/recommendations_box.rb, line 3
def initialize options = {}
        super
end

Public Instance Methods

attributes() click to toggle source

max_age - a limit on recommendation and creation time of articles that are surfaced in

the plugins, the default is 0 (we don’t take age into account). 
Otherwise the valid values are 1-180, which specifies the number of days.
Calls superclass method
# File lib/facebook-social_plugins/plugin/recommendations_box.rb, line 35
def attributes
        super.merge(:site => :string, :action => :string, :app_id => :string, :height => :integer, 
                :header => :string, :linktarget => linktargets, :ref => :string, 
                :max_age => :integer, :width => :integer)
end
plugin_class() click to toggle source
# File lib/facebook-social_plugins/plugin/recommendations_box.rb, line 7
def plugin_class
        'fb-recommendations'
end