Class: Rubaiji::Video
- Inherits:
-
Object
- Object
- Rubaiji::Video
- Defined in:
- lib/rubaiji/video.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
Returns the value of attribute html.
Instance Method Summary collapse
-
#initialize(params) ⇒ Video
constructor
A new instance of Video.
Constructor Details
#initialize(params) ⇒ Video
Returns a new instance of Video.
5 6 7 8 9 |
# File 'lib/rubaiji/video.rb', line 5 def initialize(params) params.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end |
Instance Attribute Details
#html ⇒ Object
Returns the value of attribute html.
3 4 5 |
# File 'lib/rubaiji/video.rb', line 3 def html @html end |