class Repository

Included Modules

Defined in:

models/repository.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.create(title : String) #

[View source]
def self.delete(repo : Repository) #

[View source]
def self.find_all : Array(Repository) #

[View source]
def self.find_by_id(id : Int32) : Repository | Nil #

[View source]
def self.find_by_title(title : String) : Repository | Nil #

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

[View source]

Instance Method Detail

def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def title : String #

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

[View source]
def updated_at : Time #

[View source]
def updated_at=(updated_at : Time) #

[View source]