Class: LMSGraphQL::Mutations::Canvas::ReserveTimeSlotParticipantId
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::ReserveTimeSlotParticipantId
- Defined in:
- lib/lms_graphql/mutations/canvas/reserve_time_slot_participant_id.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, participant_id:, comments: nil, cancel_existing: nil) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# 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 |