class LMSGraphQL::Resolvers::Canvas::IndexOfReport
Public Instance Methods
resolve(account_id:, report:, get_all: false)
click to toggle source
# File lib/lms_graphql/resolvers/canvas/index_of_reports.rb, line 11 def resolve(account_id:, report:, get_all: false) result = context[:canvas_api].call("INDEX_OF_REPORTS").proxy( "INDEX_OF_REPORTS", { "account_id": account_id, "report": report }, nil, get_all, ) get_all ? result : result.parsed_response end