Class: LMSGraphQL::Mutations::Canvas::ImportOutcomesCourse
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::ImportOutcomesCourse
- Defined in:
- lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, import_type: nil, attachment: nil, extension: nil) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/lms_graphql/mutations/canvas/import_outcomes_courses.rb', line 15 def resolve(course_id:, import_type: nil, attachment: nil, extension: nil) context[:canvas_api].call("IMPORT_OUTCOMES_COURSES").proxy( "IMPORT_OUTCOMES_COURSES", { "course_id": course_id }, { "import_type": import_type, "attachment": , "extension": extension }, ).parsed_response end |