Sha256: ea67c814414b9ec0ed8b7512b6b18c96b0c2c3bbfd6caa3d43eebbcaee8127cc
Contents?: true
Size: 345 Bytes
Versions: 3
Compression:
Stored size: 345 Bytes
Contents
require "film_snob/video_site" class FilmSnob class Vimeo < VideoSite def self.valid_url_patterns [ %r{https?://vimeo.com/(\d{1,})}, %r{https?://vimeo.com/m/(\d{1,})}, %r{https?://vimeo.com/couchmode/\w+/[\w:]+/(\d{1,})} ] end def clean_url "https://vimeo.com/#{id}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
film_snob-0.1.2 | lib/film_snob/vimeo.rb |
film_snob-0.1.1 | lib/film_snob/vimeo.rb |
film_snob-0.1.0 | lib/film_snob/vimeo.rb |