class

ActivityPub::Object::Question

Inherits ActivityPub::Object < ActivityPub < Ktistec::Model::Blockable < Ktistec::Model::Deletable < Ktistec::Model::Polymorphic < Ktistec::Model::Linked < Ktistec::Model::Common < Ktistec::Model < Reference < Object

Class methods

map(json, **options)
Source

Instance methods

_association_poll
Source
_has_one_setter_for_poll(poll_ : Poll, update_associations = true) : Poll
Source
accepts_vote?(vote : ActivityPub::Object::Note) : Bool

Returns true if the vote is acceptable.

Implements the checks in FEP-9967 ("Receiving a vote").

Source
options_by(actor : ActivityPub::Actor) : Array(String)
Source
poll(include_deleted : Bool = false, include_undone : Bool = false) : Poll
Source
poll=(poll_ : Poll) : Poll
Source
poll?(include_deleted : Bool = false, include_undone : Bool = false) : Poll | Nil
Source
supported_editors

Returns the editor types supported for Question objects.

Source
voted_by?(actor : ActivityPub::Actor) : Bool
Source
voters
Source
votes
Source