Module: AmaLayout::Notifications::ClassMethods

Defined in:
lib/ama_layout/notifications.rb

Instance Method Summary collapse

Instance Method Details

#_notification_foreign_keyObject



54
55
56
# File 'lib/ama_layout/notifications.rb', line 54

def _notification_foreign_key
  @_notification_foreign_key || Proc.new(&:id)
end

#_notification_storeObject



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