Class: PodcastIndex::Api::Stats

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

Class Method Summary collapse

Methods included from Request

get

Class Method Details

.currentObject



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

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