Class: Hooloo::Video
- Inherits:
-
MozartHash
- Object
- MozartHash
- Hooloo::Video
- Defined in:
- lib/hooloo/video.rb
Instance Method Summary collapse
- #copyright ⇒ Object
-
#initialize(id) ⇒ Video
constructor
A new instance of Video.
- #oembed ⇒ Object
Methods inherited from MozartHash
bool, cast, date, field_mapping, float, #inspect, #method_missing, #respond_to?, uri
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Hooloo::MozartHash
Instance Method Details
#copyright ⇒ Object
12 13 14 |
# File 'lib/hooloo/video.rb', line 12 def copyright @obj['copyright'].split(',').map(&:strip) end |