Sha256: 93758449d10dfa2a0f379d418b099037cfb240dde6f01ff3afd05ee8accf2d42
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
require 'youtube_to_rss/version' require 'httparty' module YoutubeToRss include HTTParty class << self def convert(url) retrieve_rss_url(get_parsed_response(url)) end private def get_parsed_response(url) get(url).parsed_response end def retrieve_rss_url(parsed_response) parsed_response.split('"rssUrl":"').last.split('",').first end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
youtube_to_rss-0.3.4 | lib/youtube_to_rss.rb |