class Todo::Handler

Defined in:

todo.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(repo : Todo::Repository) #

[View source]

Instance Method Detail

def add_todo_item(title : String, order : Int32) #

[View source]
def add_todo_item(title : String, order : Int64) #

[View source]
def add_todo_item(title : String, order : Nil) #

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

[View source]
def clear_todos #

[View source]
def get_todo(item_id : String) #

[View source]
def list_todos #

[View source]
def remove_item(item_id : String) #

[View source]
def repo : Repository #

[View source]
def repo=(repo : Repository) #

[View source]
def update_item(item_id : String, title : String, completed : Bool, order : Int32) #

[View source]
def update_item(item_id : String, title : String, completed : Bool, order : Int64) #

[View source]