Sha256: c0d505046349f1b2a5e04347a0464cbfe8fa6a348c1904d824a0f26df25f20a1

Contents?: true

Size: 237 Bytes

Versions: 149

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/transplants"

module Renalware
  module Transplants
    class RecipientWorkupPolicy < BasePolicy
      def new?
        super && record.new_record?
      end
    end
  end
end

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
renalware-core-2.0.18 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.17 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.16 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.15 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.14 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.13 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.12 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.11 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.9 app/policies/renalware/transplants/recipient_workup_policy.rb