Sha256: e3c30e70ce78513b817abd15da02ea226fee013d1b8f026532e3b722b0a3b7b0

Contents?: true

Size: 367 Bytes

Versions: 24

Compression:

Stored size: 367 Bytes

Contents

require_dependency "renalware/messaging"

module Renalware
  module Messaging
    module Internal
      class ReceiptPolicy < BasePolicy
        def mark_as_read?
          update?
        end

        def unread?
          index?
        end

        def read?
          index?
        end

        def sent?
          index?
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.7 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.5 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.4 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.3 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.2 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.1 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc13 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc11 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc10 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc9 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc8 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc7 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc6 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc5 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc4 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc3 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.rc1 app/policies/renalware/messaging/internal/receipt_policy.rb
renalware-core-2.0.0.pre.beta12 app/policies/renalware/messaging/internal/receipt_policy.rb