lib/hooloo/video.rb in hooloo-0.2.0 vs lib/hooloo/video.rb in hooloo-0.2.1
- old
+ new
@@ -13,8 +13,8 @@
@obj['copyright'].split(',').map(&:strip)
end
date :available_at, :cache_time, :original_premiere_date, :released_at
bool :embed_permitted, :has_captions, :has_hd, :is_auth_valid, :is_expiring, :is_html5_enabled,
:is_mature, :is_subscriber_only, :is_web_only
- cast Float, :duration
- cast URI, :thumbnail_url
+ float :duration
+ uri :thumbnail_url
end