Class: LMSGraphQL::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



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

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