Class: LMSGraphQL::Resolvers::Canvas::IndexOfReport

Inherits:
CanvasBaseResolver
  • Object
show all
Defined in:
lib/lms_graphql/resolvers/canvas/index_of_reports.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, report:) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/lms_graphql/resolvers/canvas/index_of_reports.rb', line 10

def resolve(account_id:, report:)
  context[:canvas_api].proxy(
    "INDEX_OF_REPORTS",
    {
      "account_id": ,
      "report": report            },
    nil,
  ).parsed_response
end