Sha256: 23eab5cb24902c9d77d66c692e957eec2db8bbc73fec6ad984687fef46566082
Contents?: true
Size: 298 Bytes
Versions: 17
Compression:
Stored size: 298 Bytes
Contents
module Unsplash # :nodoc: # Retrieve Unsplash stats class Stats < Client class << self # Get a list of statistics regardling Unsplash as a whole. # @return [Hash] The numbers. def total JSON.parse(connection.get("/stats/total").body) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems