Files
adamantium/slices/admin/actions/trips/create.rb
2023-05-09 21:52:04 +10:00

17 lines
277 B
Ruby

# frozen_string_literal: true
module Admin
module Actions
module Trips
class Create < Admin::Action
include Deps["commands.trips.create"]
def handle(req, res)
create.call(trip: req.params[:trip])
end
end
end
end
end