Sha256: 983e38a9449cb68d7da52e3a46298ddbf4d813c9db89214b7cb854727a4eeff3
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 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 @clean_url ||= "https://vimeo.com/#{id}" end def self.oembed_endpoint "http://vimeo.com/api/oembed.json" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
film_snob-0.4.0 | lib/film_snob/vimeo.rb |