class
Cryap::Database::Models::Boost
- Cryap::Database::Models::Boost
- Cryap::Database::Relationship
- Reference
- Object
Defined in:
models/boost.crConstructors
- .new(unpacker : Neo4j::PackStream::Unpacker)
- .new(ap_id : URI, created_at : Time = Time.utc, id : KSUID = KSUID.random)
Class Method Summary
- .by_id(id : String)
- .by_id(id : KSUID)
- .by_post_and_by(post : Post, by : Account)
- .from_bolt(unpacker : Neo4j::PackStream::Unpacker)
Instance Method Summary
- #accessible_for?(user : LocalAccount | Nil)
- #ap_id : URI
- #author : Account
- #created_at : Time
- #id : KSUID
- #post : Post
- #within_streaming_window?
Instance methods inherited from class Cryap::Database::Relationship
node_end : Int64
node_end,
node_start : Int64
node_start,
relationship_id : Int64
relationship_id,
relationship_type : String
relationship_type
Constructor methods inherited from class Cryap::Database::Relationship
new(unpacker : Neo4j::PackStream::Unpacker)new(relationship : Neo4j::Relationship) new
Class methods inherited from class Cryap::Database::Relationship
from_bolt(unpacker : Neo4j::PackStream::Unpacker)from_bolt(io : IO) from_bolt, model_name model_name