Class: LMS::GraphQL::Mutations::Canvas::DeleteReport

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

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, report:, id:) ⇒ Object



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

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