class Cryap::Database::Models::Boost

Defined in:

models/boost.cr

Constructors

Class Method Summary

Instance Method Summary

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

Macros inherited from class Cryap::Database::Relationship

model(name) model, query!(&block) query!

Constructor Detail

def self.new(unpacker : Neo4j::PackStream::Unpacker) #

def self.new(ap_id : URI, created_at : Time = Time.utc, id : KSUID = KSUID.random) #

Class Method Detail

def self.by_id(id : String) #

def self.by_id(id : KSUID) #

def self.by_post_and_by(post : Post, by : Account) #

def self.from_bolt(unpacker : Neo4j::PackStream::Unpacker) #

Instance Method Detail

def accessible_for?(user : LocalAccount | Nil) #

def ap_id : URI #

def author : Account #

def created_at : Time #

def id : KSUID #

def post : Post #

def within_streaming_window? #