module TravelPlanController

Included Modules

Extended Modules

Direct including types

Defined in:

controllers/travel_plan_controller.cr

Instance Method Summary

Instance methods inherited from module TravelPlanService

create_travel_plan(travel_stops) create_travel_plan, delete_travel_plan(id) delete_travel_plan, get_travel_plan(id : Int32, expand, optimize) get_travel_plan, get_travel_plans(expand, optimize) get_travel_plans, update_travel_plan(id, travel_stops) update_travel_plan

Instance methods inherited from module TravelStopService

calculate_location_popularity(location : Hash(String, JSON::Any)) : Int32 calculate_location_popularity, expand_and_optimize(locations, expand, optimize) expand_and_optimize, get_all_travel_stops get_all_travel_stops, get_details_of_many_travels_plans(travel_plans, expand, optimize) get_details_of_many_travels_plans, get_locations_details_by_ids(location_ids) get_locations_details_by_ids, sort_by_location_popularity(locations : Array(Hash(String, JSON::Any))) : Array(Hash(String, JSON::Any)) sort_by_location_popularity

Instance Method Detail

def all(env) #

[View source]
def create(env) #

[View source]
def delete(env) #

[View source]
def show(env) #

[View source]
def update(env) #

[View source]