Class: V1::ReservationsController

Inherits:
ApiController
  • Object
show all
Defined in:
api/app/api/v1/reservations_controller.rb

Overview

Fetch and manage reservations for a particular event or location

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

Instance Method Details

#batch_createObject

#createObject

#destroyObject

#indexObject

#lookupObject

#showObject

#updateObject