module TravelPlanService

Included Modules

Extended Modules

Direct including types

Defined in:

services/travel_plan_service.cr

Instance Method Summary

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 create_travel_plan(travel_stops) #

[View source]
def delete_travel_plan(id) #

[View source]
def get_travel_plan(id : Int32, expand, optimize) #

[View source]
def get_travel_plans(expand, optimize) #

[View source]
def update_travel_plan(id, travel_stops) #

[View source]