class LMSGraphQL::Resolvers::Canvas::StatusOfReport

Public Instance Methods

resolve(account_id:, report:, id:, get_all: false) click to toggle source
# File lib/lms_graphql/resolvers/canvas/status_of_report.rb, line 11
def resolve(account_id:, report:, id:, get_all: false)
  result = context[:canvas_api].call("STATUS_OF_REPORT").proxy(
    "STATUS_OF_REPORT",
    {
      "account_id": account_id,
      "report": report,
      "id": id            },
    nil,
    get_all,
  )
  get_all ? result : result.parsed_response
end