Sha256: ff16783ba1e345000f27113e61e1ba96183c6e2e00772b5b26a2b87e1163f721
Contents?: true
Size: 538 Bytes
Versions: 15
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/transplants" module Renalware module Transplants class WaitListRegistrationPresenter < SimpleDelegator delegate :uk_transplant_centre, to: :document delegate :status, :status_updated_on, to: :uk_transplant_centre, prefix: true, allow_nil: true def uk_transplant_centre_summary return if uk_transplant_centre_status.blank? "#{uk_transplant_centre_status} (#{I18n.l(uk_transplant_centre_status_updated_on)})" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems