Sha256: 8acb69a039ff36dc77c6f833a5be75abeeb71409836cf39a339346f6c664c11b
Contents?: true
Size: 336 Bytes
Versions: 5
Compression:
Stored size: 336 Bytes
Contents
require "film_snob/video_site" class FilmSnob class Coub < VideoSite def self.valid_url_patterns [ %r{https?://coub.com/view/(\w*)} ] end def clean_url @clean_url ||= "http://coub.com/view/#{id}" end def self.oembed_endpoint 'http://coub.com/api/oembed.json' end end end
Version data entries
5 entries across 5 versions & 1 rubygems