Class: Signum::Notifications::Component

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keys = nil) ⇒ Component

Returns a new instance of Component.



5
6
7
# File 'app/components/signum/notifications/component.rb', line 5

def initialize(keys = nil)
  @keys = keys
end

Instance Attribute Details

#keysObject (readonly)

Returns the value of attribute keys.



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

def keys
  @keys
end