Module: Buzzsprout
- Defined in:
- lib/buzzsprout.rb,
lib/buzzsprout/client.rb,
lib/buzzsprout/episode.rb,
lib/buzzsprout/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
The version of the gem
'0.0.6'.freeze
Class Method Summary collapse
-
.episode(podcast_id, episode_id) ⇒ Episode
Retrieve episode details.
-
.episode_from_url(url) ⇒ Episode
Retrieve episode details.
-
.episodes(podcast_id, tags = []) ⇒ Array<Episode>
List all the episodes for a podcast.
Class Method Details
.episode(podcast_id, episode_id) ⇒ Episode
Retrieve episode details
27 28 29 |
# File 'lib/buzzsprout.rb', line 27 def self.episode(podcast_id, episode_id) Client.episode(podcast_id, episode_id) end |
.episode_from_url(url) ⇒ Episode
Retrieve episode details
35 36 37 |
# File 'lib/buzzsprout.rb', line 35 def self.episode_from_url(url) Client.episode_from_url(url) end |
.episodes(podcast_id, tags = []) ⇒ Array<Episode>
List all the episodes for a podcast
18 19 20 |
# File 'lib/buzzsprout.rb', line 18 def self.episodes(podcast_id, =[]) Client.episodes(podcast_id, ) end |