Class: PodcastIndex::Api::Value
- Inherits:
-
Object
- Object
- PodcastIndex::Api::Value
- Extended by:
- Request
- Defined in:
- lib/podcast_index/api/value.rb
Class Method Summary collapse
Methods included from Request
Class Method Details
.by_feed_id(id:) ⇒ Object
7 8 9 10 |
# File 'lib/podcast_index/api/value.rb', line 7 def by_feed_id(id:) response = get("/value/byfeedid", id: id) JSON.parse(response.body) end |
.by_feed_url(url:) ⇒ Object
12 13 14 15 |
# File 'lib/podcast_index/api/value.rb', line 12 def by_feed_url(url:) response = get("/value/byfeedurl", url: url) JSON.parse(response.body) end |