struct

Hwaro::Services::StatsResult

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
Source
new(total : Int32 = 0, drafts : Int32 = 0, published : Int32 = 0, words_total : Int32 = 0, words_avg : Int32 = 0, words_min : Int32 = 0, words_max : Int32 = 0, tags : Hash(String, Int32) = {} of String => Int32, monthly : Hash(String, Int32) = {} of String => Int32)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

drafts
Source
drafts=(drafts : Int32)
Source
monthly
Source
monthly=(monthly : Hash(String, Int32))
Source
published
Source
published=(published : Int32)
Source
tags
Source
tags=(tags : Hash(String, Int32))
Source
total
Source
total=(total : Int32)
Source
words_avg
Source
words_avg=(words_avg : Int32)
Source
words_max
Source
words_max=(words_max : Int32)
Source
words_min
Source
words_min=(words_min : Int32)
Source
words_total
Source
words_total=(words_total : Int32)
Source