Sha256: 5b113fa6a8ffb62a83cbc434ab51d3dc16da5e157c6cab80829c42ea062d7501

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

module FacebookSocialPlugins
	class LiveStream < SocialPlugin
		def initialize options = {}
			super
		end

		def plugin_class
			'fb-live-stream'
		end

		# event-app-id - the app id for the event
		# width - the width of the plugin in pixels. Minimum recommended width: 400px.
		# height - the height of the plugin in pixels. Minimum recommended height: 200px.
		# always-post-to-friends - whether to always post to friend, default: false
		def attributes
			super.merge(:'via-url' => :string, :xid => :string, :'event-app-id' => :string, 
				:height => :integer, :'always-post-to-friends' => :boolean, :width => :integer)
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facebook-social_plugins-0.1.3 lib/facebook-social_plugins/live_stream.rb
facebook-social_plugins-0.1.2 lib/facebook-social_plugins/live_stream.rb
facebook-social_plugins-0.1.1 lib/facebook-social_plugins/live_stream.rb
facebook-social_plugins-0.1.0 lib/facebook-social_plugins/live_stream.rb