You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: pmb_client.rb
    path of file: ./repos/sequencescape/lib/label_printer/label_printer
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require 'rest-client'

module LabelPrinter
  PmbException = Class.new(StandardError)

  class PmbClient
    def self.base_url
      configatron.pmb_api
    end

    def self.base_url_v1
      configatron.pmb_api_v1
    end

    def self.print_job_url
    
    def self.prettify_new_errors(errors)
      [].tap do |error_list|
        errors.each do |error|
          attribute = error['source']['pointer'].split('/').last.humanize
          error_list << ('%{attribute} %{message}' % { attribute: attribute, message: error['detail'] })
        end
      end.join('; ')
    end

    def self.prettify_old_errors(errors)
      [].tap do |error_list|
        errors.each do |k, v|
          error_list << ('%{attribute} %{message}' % { attribute: k.capitalize + ':', message: v.join(', ') })
        end
      end.join('; ')
    end
  end
end