Class: LMSGraphQL::Mutations::Canvas::UpdateOutcomeGroupGlobal
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::UpdateOutcomeGroupGlobal
- Defined in:
- lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb
Instance Method Summary collapse
- #resolve(id:, title: nil, description: nil, vendor_guid: nil, parent_outcome_group_id: nil) ⇒ Object
Instance Method Details
#resolve(id:, title: nil, description: nil, vendor_guid: nil, parent_outcome_group_id: nil) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/lms_graphql/mutations/canvas/update_outcome_group_global.rb', line 16 def resolve(id:, title: nil, description: nil, vendor_guid: nil, parent_outcome_group_id: nil) context[:canvas_api].call("UPDATE_OUTCOME_GROUP_GLOBAL").proxy( "UPDATE_OUTCOME_GROUP_GLOBAL", { "id": id }, { "title": title, "description": description, "vendor_guid": vendor_guid, "parent_outcome_group_id": parent_outcome_group_id }, ).parsed_response end |