Module: RichUrls::Parsers

Defined in:
lib/parsers/url.rb,
lib/parsers/property.rb,
lib/parsers/embed_parser.rb,
lib/parsers/embed_parsers/base.rb,
lib/parsers/embed_parsers/paste.rb,
lib/parsers/embed_parsers/spotify.rb,
lib/parsers/embed_parsers/youtube.rb,
lib/parsers/provider_display_parser.rb,
lib/parsers/embed_parsers/youtube_short.rb

Defined Under Namespace

Classes: EmbedParser

Constant Summary collapse

Url =
->(content, url) { UrlHelper.url_for(url, content) }
Property =
->(property, _) { property&.force_encoding('UTF-8') }
ProviderDisplayParser =
->(_, url) { URI(url).host }