Class: LMSGraphQL::Mutations::Canvas::RemoveFeatureFlagCourse

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb

Instance Method Summary collapse

Instance Method Details

#resolve(course_id:, feature:) ⇒ Object



13
14
15
16
17
18
19
20
21
22
# File 'lib/lms_graphql/mutations/canvas/remove_feature_flag_courses.rb', line 13

def resolve(course_id:, feature:)
  context[:canvas_api].call("REMOVE_FEATURE_FLAG_COURSES").proxy(
    "REMOVE_FEATURE_FLAG_COURSES",
    {
      "course_id": course_id,
      "feature": feature
    },
    {},
  ).parsed_response
end