struct

Serializers::Author

Inherits Struct < Value < Object

An author view-object.

Constructors

from(actor : ActivityPub::Actor, owner_iri : String | Nil, now : Time) : Author

Returns an Author view-object.

Facts about the author are as seen by owner_iri.

Source
new(iri : String, type : String, handle : String, followers : String | Nil, deleted : Bool, blocked : Bool, followed : Bool, rate_7 : Float64, rate_30 : Float64, rate_90 : Float64)
Source

Instance methods

blocked
Source
deleted
Source
followed

Whether the feed's owner follows the author.

Source
followers
Source
handle
Source
rate_30

The author's posting rate over the last 30 days, in posts per day.

Source
rate_7

The author's posting rate over the last 7 days, in posts per day.

Source
rate_90

The author's posting rate over the last 90 days, in posts per day.

Source
type
Source