Class: Maglove::Widget::Youtube
- Defined in:
- lib/maglove/widget/youtube.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from V2
Methods inherited from Base
#initialize, #render, #style_string, #widget_options
Constructor Details
This class inherits a constructor from Maglove::Widget::Base
Instance Method Details
#defaults ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/maglove/widget/youtube.rb', line 8 def defaults { youtube_id: "LFYNP40vfmE", width: "800", height: "600" } end |
#identifier ⇒ Object
4 5 6 |
# File 'lib/maglove/widget/youtube.rb', line 4 def identifier "youtube" end |