Class: LMS::GraphQL::Mutations::Canvas::DeleteGroupCategory

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms/graphql/mutations/canvas/delete_group_category.rb

Instance Method Summary collapse

Instance Method Details

#resolve(group_category_id:) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/lms/graphql/mutations/canvas/delete_group_category.rb', line 10

def resolve(group_category_id:)
  ctx[:canvas_api].proxy(
    "DELETE_GROUP_CATEGORY",
    {
      "group_category_id": group_category_id              },
    nil,
  ).parsed_response
end