Sha256: cfa62a70d05139621c4d0d7490edd5e082d3e811a58f0cee6dfd64ced5d9429a

Contents?: true

Size: 269 Bytes

Versions: 3

Compression:

Stored size: 269 Bytes

Contents

require_dependency "renalware/messaging"

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

      def unread?
        index?
      end

      def read?
        index?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta7 app/policies/renalware/messaging/receipt_policy.rb
renalware-core-2.0.0.pre.beta6 app/policies/renalware/messaging/receipt_policy.rb
renalware-core-2.0.0.pre.beta5 app/policies/renalware/messaging/receipt_policy.rb