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.1.1 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.1.0 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.167 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.166 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.165 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.164 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.163 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.162 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.161 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.160 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.159 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.158 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.157 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.156 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.155 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.153 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.152 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.151 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.149 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.148 app/policies/renalware/transplants/recipient_workup_policy.rb