Class: LMSGraphQL::Mutations::Canvas::CrossListSection
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::CrossListSection
- Defined in:
- lib/lms_graphql/mutations/canvas/cross_list_section.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, new_course_id:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/mutations/canvas/cross_list_section.rb', line 13 def resolve(id:, new_course_id:) context[:canvas_api].call("CROSS_LIST_SECTION").proxy( "CROSS_LIST_SECTION", { "id": id, "new_course_id": new_course_id }, {}, ).parsed_response end |