Class: LMSGraphQL::Mutations::Canvas::SetOrRemoveRestrictionsOnBlueprintCourseObject
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMSGraphQL::Mutations::Canvas::SetOrRemoveRestrictionsOnBlueprintCourseObject
- Defined in:
- lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, template_id:, content_type: nil, content_id: nil, restricted: nil, restrictions: nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/lms_graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb', line 14 def resolve(course_id:, template_id:, content_type: nil, content_id: nil, restricted: nil, restrictions: nil) ctx[:canvas_api].proxy( "SET_OR_REMOVE_RESTRICTIONS_ON_BLUEPRINT_COURSE_OBJECT", { "course_id": course_id, "template_id": template_id, "content_type": content_type, "content_id": content_id, "restricted": restricted, "restrictions": restrictions }, nil, ).parsed_response end |