Sha256: 2041546d766f7b002e446405bb488a180346cf4e90fc3bebbf527d49474a356e

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

module FacebookSocialPlugins
	module ViewHelper
		def fb_root
			content_tag :div, :class => "fb-root"
		end

		def fb_activity_feed options = {}
			FacebookSocialPlugins::ActivityFeed.new(options).render
		end

		def fb_add_to_timeline options = {}
			FacebookSocialPlugins::AddToTimeline.new(options).render
		end

		def fb_comments options = {}
			FacebookSocialPlugins::Comments.new(options).render
		end

		def fb_facepile options = {}
			FacebookSocialPlugins::Facepile.new(options).render
		end

		def fb_like_box options = {}
			FacebookSocialPlugins::LikeBox.new(options).render
		end

		def fb_like_button options = {}
			FacebookSocialPlugins::LikeButton.new(options).render
		end

		def fb_live_stream options = {}
			FacebookSocialPlugins::LiveStream.new(options).render
		end

		def fb_login_button options = {}
			FacebookSocialPlugins::LoginButton.new(options).render
		end

		def fb_recommendations_box options = {}
			FacebookSocialPlugins::RecommendationsBox.new(options).render
		end

		def fb_registration options = {}
			FacebookSocialPlugins::Registration.new(options).render
		end

		def fb_send_button options = {}
			FacebookSocialPlugins::SendButton.new(options).render
		end

		def fb_subscribe_button options = {}
			FacebookSocialPlugins::SubscribeButton.new(options).render
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facebook-social_plugins-0.1.0 lib/facebook-social_plugins/view_helper.rb