Class: LMS::GraphQL::Resolvers::Canvas::ShowBlueprintMigration

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

Instance Method Summary collapse

Instance Method Details

#resolve(course_id:, template_id:, id:) ⇒ Object



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

def resolve(course_id:, template_id:, id:)
  context[:canvas_api].proxy(
    "SHOW_BLUEPRINT_MIGRATION",
    {
      "course_id": course_id,
      "template_id": template_id,
      "id": id              },
    nil,
  ).parsed_response
end