class

Feed::Version

Inherits Ktistec::Model::Common < Ktistec::Model < Reference < Object

A feed version.

Constructors

for(owner : ActivityPub::Actor, backend : String, params : Hash(String, JSON::Any)) : self

Returns the version for an owner, a backend and a params, at the backend's revision, creating it if it does not exist.

Raises if the backend is not registered.

Source

Instance methods

_association_owner
Source
_belongs_to_setter_for_owner(owner_ : ActivityPub::Actor, update_associations = true) : ActivityPub::Actor
Source
backend
Source
backend=(backend : String)
Source
backfill_cursor

The id of the oldest object the version's backfills have enqueued.

Source
backfill_cursor=(backfill_cursor : Int64 | Nil)

The id of the oldest object the version's backfills have enqueued.

Source
cover_down_to(id : Int64) : Nil

Records that every candidate from id up has been asked about.

Never moves the cursor up.

Source
owner(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor
Source
owner?(include_deleted : Bool = false, include_undone : Bool = false) : ActivityPub::Actor | Nil
Source
owner_iri
Source
owner_iri=(owner_iri : String)
Source
params

The judging params, canonicalized and serialized to JSON.

Source
params=(params : String)

The judging params, canonicalized and serialized to JSON.

Source
revision

The backend's revision.

Source
revision=(revision : String)

The backend's revision.

Source