module AmaLayout::Notifications::ClassMethods

Public Instance Methods

_notification_foreign_key() click to toggle source
# File lib/ama_layout/notifications.rb, line 54
def _notification_foreign_key
  @_notification_foreign_key || Proc.new(&:id)
end
_notification_store() click to toggle source
# File lib/ama_layout/notifications.rb, line 58
def _notification_store
  @_notification_store
end
notification_foreign_key(key) click to toggle source
# File lib/ama_layout/notifications.rb, line 50
def notification_foreign_key(key)
  self._notification_foreign_key = key
end
notification_store(store) click to toggle source
# File lib/ama_layout/notifications.rb, line 46
def notification_store(store)
  self._notification_store = store
end

Private Instance Methods

_notification_foreign_key=(key) click to toggle source
# File lib/ama_layout/notifications.rb, line 68
def _notification_foreign_key=(key)
  @_notification_foreign_key = key.to_proc
end
_notification_store=(store) click to toggle source
# File lib/ama_layout/notifications.rb, line 64
def _notification_store=(store)
  @_notification_store = store
end