class LMSGraphQL::Resolvers::Canvas::ListBlueprintMigration

Public Instance Methods

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