Sha256: ad9ffe126ba3a6ef17c62f141eca27090a59184fe9a41d6da5911a5f86cf4b92

Contents?: true

Size: 245 Bytes

Versions: 2

Compression:

Stored size: 245 Bytes

Contents

module PodcastIndex
  module Api
    class Stats
      extend Request

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
podcast_index-0.5.0 lib/podcast_index/api/stats.rb
podcast_index-0.4.0 lib/podcast_index/api/stats.rb