Class: VideoEmbed::NoService
- Inherits:
-
Object
- Object
- VideoEmbed::NoService
- Defined in:
- lib/video_embed/no_service.rb
Instance Method Summary collapse
Instance Method Details
#embed(url, options = {}) ⇒ Object
7 8 9 |
# File 'lib/video_embed/no_service.rb', line 7 def (url, = {}) '<p>Video embed not available.</p>' end |
#url?(url) ⇒ Boolean
3 4 5 |
# File 'lib/video_embed/no_service.rb', line 3 def url?(url) true end |