Class: LMSGraphQL::Mutations::Canvas::ReserveTimeSlot
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- 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
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/mutations/canvas/reserve_time_slot.rb', line 12 def resolve(id:, participant_id: nil, comments: nil, cancel_existing: nil) ctx[:canvas_api].proxy( "RESERVE_TIME_SLOT", { "id": id, "participant_id": participant_id, "comments": comments, "cancel_existing": cancel_existing }, nil, ).parsed_response end |