Sha256: f5e66f02998778ef10ed285d0e762fd5eb2c5c13a483fd6351ec0f06bf8fe032
Contents?: true
Size: 174 Bytes
Versions: 2
Compression:
Stored size: 174 Bytes
Contents
module NotificationHandler module NotificationScopes scope :read, -> { where(read: true) } scope :unread, -> { where(read: false) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
notification-handler-1.0.0.beta8 | lib/notification_handler/notification_scopes.rb |
notification-handler-1.0.0.beta7 | lib/notification_handler/notification_scopes.rb |