Sha256: 2cbde2de3435f4f894ffa5546d176f85f98c08d7cb2d7e802541af2de055674b
Contents?: true
Size: 299 Bytes
Versions: 7
Compression:
Stored size: 299 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
7 entries across 7 versions & 2 rubygems