class Api::TravelsPlanRepository

Defined in:

repository/travels_plans_repository.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(model : ::TravelsPlans.class = TravelsPlans) #

[View source]

Instance Method Detail

def create_travels_plan(travel_stops_string : String) : TravelsPlans #

[View source]
def delete_travels_plan(travels_plan : TravelsPlans) : Bool #

[View source]
def get_all_travels_plan : Array(TravelsPlans) #

[View source]
def get_travels_plan_by_id(id : String) : TravelsPlans | Nil #

[View source]
def model : TravelsPlans.class #

[View source]
def update_travels_plan(travels_plan : TravelsPlans, travel_stops_string : String) : Bool #

[View source]