Class: V1::ReservationsController
- Inherits:
-
ApiController
- Object
- ApiController
- V1::ReservationsController
- Defined in:
- api/app/api/v1/reservations_controller.rb
Overview
Constant Summary collapse
- RESERVATION_PARAMS =
:id, :event_id, :start, :end, :group_number, room_reservations_attributes: %i[room_id _destroy], sessions_attributes: %i[id reservation_id seats start_time end_time _destroy]].freeze
- UPDATE_PARAMS =
:id, :event_id, :start, :end, :group_number, room_ids: [], sessions_attributes: %i[id seats start_time end_time _destroy]].freeze
Instance Method Summary collapse
- #batch_create ⇒ Object
- #create ⇒ Object
- #destroy ⇒ Object
- #index ⇒ Object
- #lookup ⇒ Object
- #show ⇒ Object
- #update ⇒ Object