Class: LMSGraphQL::Mutations::Canvas::DeleteReport

Inherits:
BaseMutation
  • 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



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/lms_graphql/mutations/canvas/delete_report.rb', line 14

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