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.
Methods inherited from MozartHash
bool, cast, date, field_mapping, #inspect, #method_missing, #respond_to?
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
9 10 11 |
# File 'lib/hooloo/video.rb', line 9 def copyright @obj['copyright'].split(',').map(&:strip) end |