Class: Signum::NotificationDrawer::Component
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Signum::NotificationDrawer::Component
- Defined in:
- app/components/signum/notification_drawer/component.rb
Instance Method Summary collapse
-
#initialize(signals, notification_container_id) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(signals, notification_container_id) ⇒ Component
Returns a new instance of Component.
4 5 6 7 |
# File 'app/components/signum/notification_drawer/component.rb', line 4 def initialize(signals, notification_container_id) @signals = signals @notification_container_id = notification_container_id end |