Class: Signum::NotificationDrawer::Component

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/signum/notification_drawer/component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(signals) ⇒ Component

Returns a new instance of Component.



6
7
8
# File 'app/components/signum/notification_drawer/component.rb', line 6

def initialize(signals)
  @signals = signals
end

Instance Attribute Details

#signalsObject (readonly)

Returns the value of attribute signals.



4
5
6
# File 'app/components/signum/notification_drawer/component.rb', line 4

def signals
  @signals
end