class Unsplash::Stats
Retrieve Unsplash
stats
Public Class Methods
total()
click to toggle source
Get a list of statistics regardling Unsplash
as a whole. @return [Hash] The numbers.
# File lib/unsplash/stats.rb, line 9 def total JSON.parse(connection.get("/stats/total").body) end