Class: LMSGraphQL::Mutations::Canvas::DeletePoll

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

Instance Method Summary collapse

Instance Method Details

#resolve(id:) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/lms_graphql/mutations/canvas/delete_poll.rb', line 9

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