Class: FacebookSocialPlugins::Plugin::LiveStream

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

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

Returns a new instance of LiveStream.



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

def initialize options = {}
	super
end

Instance Method Details

#attributesObject

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



15
16
17
18
# File 'lib/facebook-social_plugins/plugin/live_stream.rb', line 15

def attributes
	super.merge(:'via-url' => :string, :xid => :string, :'event-app-id' => :string, 
		:height => :integer, :'always-post-to-friends' => :boolean, :width => :integer)
end

#plugin_classObject



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

def plugin_class
	'fb-live-stream'
end