class LMSGraphQL::Mutations::Canvas::CreateNewGradingStandardCourse
Public Instance Methods
resolve(course_id:, title:, grading_scheme_entry_name:, grading_scheme_entry_value:)
click to toggle source
# File lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb, line 15 def resolve(course_id:, title:, grading_scheme_entry_name:, grading_scheme_entry_value:) context[:canvas_api].call("CREATE_NEW_GRADING_STANDARD_COURSES").proxy( "CREATE_NEW_GRADING_STANDARD_COURSES", { "course_id": course_id }, { "title": title, "grading_scheme_entry[name]": grading_scheme_entry_name, "grading_scheme_entry[value]": grading_scheme_entry_value }, ).parsed_response end