Sha256: 7fc53cc238875aa570ca1c82cf2bbdc80cb87c47fd5636d995f8a4a3f9f94858
Contents?: true
Size: 638 Bytes
Versions: 5
Compression:
Stored size: 638 Bytes
Contents
module StackExchange module StackOverflow class Statistics < Base extend Forwardable def_delegators :@struct, :total_questions, :total_unanswered, :total_answers, :total_comments, :total_votes, :total_badges, :total_users, :questions_per_minute, :answers_per_minute, :badges_per_minute, :api_version class << self def all(options = {}) request('/stats', nil, options) end def parse(response) Statistics.new response['statistics'].first end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems