class LMSGraphQL::Resolvers::Canvas::ListMigrationIssuesAccount

Public Instance Methods

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