Class: LMS::GraphQL::Mutations::Canvas::SetOrRemoveRestrictionsOnBlueprintCourseObject
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::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
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/lms/graphql/mutations/canvas/set_or_remove_restrictions_on_blueprint_course_object.rb', line 15 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 |