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.127 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.126 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.125 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.124 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.123 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.121 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.120 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.119 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.118 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.117 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.116 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.115 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.113 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.112 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.111 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.110 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.109 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.108 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.106 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.105 app/policies/renalware/transplants/recipient_workup_policy.rb