Module: AmaLayout::Notifications::ClassMethods
- Defined in:
- lib/ama_layout/notifications.rb
Instance Method Summary collapse
- #_notification_foreign_key ⇒ Object
- #_notification_store ⇒ Object
- #notification_foreign_key(key) ⇒ Object
- #notification_store(store) ⇒ Object
Instance Method Details
#_notification_foreign_key ⇒ Object
54 55 56 |
# File 'lib/ama_layout/notifications.rb', line 54 def _notification_foreign_key @_notification_foreign_key || Proc.new(&:id) end |
#_notification_store ⇒ Object
58 59 60 |
# File 'lib/ama_layout/notifications.rb', line 58 def _notification_store @_notification_store end |
#notification_foreign_key(key) ⇒ Object
50 51 52 |
# File 'lib/ama_layout/notifications.rb', line 50 def notification_foreign_key(key) self._notification_foreign_key = key end |
#notification_store(store) ⇒ Object
46 47 48 |
# File 'lib/ama_layout/notifications.rb', line 46 def notification_store(store) self._notification_store = store end |