Class: Signum::Notifications::Component
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Signum::Notifications::Component
- Defined in:
- app/components/signum/notifications/component.rb
Instance Attribute Summary collapse
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
Instance Method Summary collapse
-
#initialize(keys = nil) ⇒ Component
constructor
A new instance of Component.
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
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
4 5 6 |
# File 'app/components/signum/notifications/component.rb', line 4 def keys @keys end |