Class: LMS::GraphQL::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



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

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