Class: LMSGraphQL::Mutations::Canvas::DeletePageGroup

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/delete_page_groups.rb

Instance Method Summary collapse

Instance Method Details

#resolve(group_id:, url:) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/lms_graphql/mutations/canvas/delete_page_groups.rb', line 10

def resolve(group_id:, url:)
  ctx[:canvas_api].proxy(
    "DELETE_PAGE_GROUPS",
    {
      "group_id": group_id,
      "url": url            },
    nil,
  ).parsed_response
end