class LMSGraphQL::Mutations::Canvas::ReserveTimeSlotParticipantId

Public Instance Methods

resolve(id:, participant_id:, comments: nil, cancel_existing: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb, line 15
def resolve(id:, participant_id:, comments: nil, cancel_existing: nil)
  context[:canvas_api].call("RESERVE_TIME_SLOT_PARTICIPANT_ID").proxy(
    "RESERVE_TIME_SLOT_PARTICIPANT_ID",
    {
      "id": id,
      "participant_id": participant_id
    },
    {
      "comments": comments,
      "cancel_existing": cancel_existing
    },
  ).parsed_response
end