Class: LMSGraphQL::Mutations::Canvas::DisableAssignmentsCurrentlyEnabledForGradeExportToSi
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::DisableAssignmentsCurrentlyEnabledForGradeExportToSi
- Defined in:
- lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, grading_period_id: nil) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/lms_graphql/mutations/canvas/disable_assignments_currently_enabled_for_grade_export_to_sis.rb', line 13 def resolve(course_id:, grading_period_id: nil) context[:canvas_api].call("DISABLE_ASSIGNMENTS_CURRENTLY_ENABLED_FOR_GRADE_EXPORT_TO_SIS").proxy( "DISABLE_ASSIGNMENTS_CURRENTLY_ENABLED_FOR_GRADE_EXPORT_TO_SIS", { "course_id": course_id }, { "grading_period_id": grading_period_id }, ).parsed_response end |