Class: LMS::GraphQL::Resolvers::Canvas::ListEnrollmentTerm

Inherits:
CanvasBaseResolver
  • Object
show all
Defined in:
lib/lms/graphql/resolvers/canvas/list_enrollment_terms.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, workflow_state: nil, include: nil) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/lms/graphql/resolvers/canvas/list_enrollment_terms.rb', line 12

def resolve(account_id:, workflow_state: nil, include: nil)
  context[:canvas_api].proxy(
    "LIST_ENROLLMENT_TERMS",
    {
      "account_id": ,
      "workflow_state": workflow_state,
      "include": include              },
    nil,
  ).parsed_response
end