Class: LMSGraphQL::Mutations::Canvas::ReserveTimeSlot
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::ReserveTimeSlot
- Defined in:
- lib/lms_graphql/mutations/canvas/reserve_time_slot.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, participant_id: nil, 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.rb', line 15 def resolve(id:, participant_id: nil, comments: nil, cancel_existing: nil) context[:canvas_api].call("RESERVE_TIME_SLOT").proxy( "RESERVE_TIME_SLOT", { "id": id }, { "participant_id": participant_id, "comments": comments, "cancel_existing": cancel_existing }, ).parsed_response end |