Class: PodcastIndex::Api::Categories

Inherits:
Object
  • Object
show all
Extended by:
Request
Defined in:
lib/podcast_index/api/categories.rb

Class Method Summary collapse

Methods included from Request

get

Class Method Details

.listObject



7
8
9
10
# File 'lib/podcast_index/api/categories.rb', line 7

def list
  response = get("/categories/list", pretty: false)
  JSON.parse(response.body)
end