Class: FacebookSocialPlugins::Plugin::LiveStream
- Defined in:
- lib/facebook-social_plugins/plugin/live_stream.rb
Instance Attribute Summary
Attributes inherited from Social
Attributes inherited from UiHelper
Instance Method Summary collapse
-
#attributes ⇒ Object
event-app-id - the app id for the event width - the width of the plugin in pixels.
-
#initialize(options = {}) ⇒ LiveStream
constructor
A new instance of LiveStream.
- #plugin_class ⇒ Object
Methods inherited from Social
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 = {} super end |
Instance Method Details
#attributes ⇒ Object
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_class ⇒ Object
7 8 9 |
# File 'lib/facebook-social_plugins/plugin/live_stream.rb', line 7 def plugin_class 'fb-live-stream' end |