class Blog::Entities::Article

Included Modules

Extended Modules

Defined in:

entities/article.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Blog::Entities::SoftDeletable

deleted_at : Time | Nil deleted_at

Instance methods inherited from module Blog::Entities::UpdatedAtAware

updated_at : Time updated_at, updated_at? : Time | Nil updated_at?

Instance methods inherited from module Blog::Entities::CreatedAtAware

created_at : Time created_at, created_at? : Time | Nil created_at?

Instance methods inherited from class Blog::Entities::Entity

id : Int64 id, id? : Int64 | Nil id?

Constructor methods inherited from class Blog::Entities::Entity

new(rs : DB::ResultSet) new

Class methods inherited from class Blog::Entities::Entity

from_rs(rs : DB::ResultSet) from_rs

Constructor Detail

def self.new(title : String, body : String) #

[View source]
def self.new(rs : DB::ResultSet) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.from_rs(rs : DB::ResultSet) #

[View source]
def self.validation_class_metadata : AVD::Metadata::ClassMetadata(self) #

Instance Method Detail

def body : String #

[View source]
def body=(body : String) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]