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.104 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.103 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.102 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.101 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.100 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.99 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.98 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.97 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.96 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.95 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.94 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.93 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.92 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.91 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.90 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.89 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.88 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.87 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.86 app/policies/renalware/transplants/recipient_workup_policy.rb
renalware-core-2.0.85 app/policies/renalware/transplants/recipient_workup_policy.rb