Class: ContentBlockTools::Contacts::ContactLinkComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- ContentBlockTools::Contacts::ContactLinkComponent
- Defined in:
- app/components/content_block_tools/contacts/contact_link_component.rb
Instance Method Summary collapse
-
#initialize(item:) ⇒ ContactLinkComponent
constructor
A new instance of ContactLinkComponent.
Methods inherited from BaseComponent
Methods included from Govspeak
Constructor Details
#initialize(item:) ⇒ ContactLinkComponent
Returns a new instance of ContactLinkComponent.
4 5 6 |
# File 'app/components/content_block_tools/contacts/contact_link_component.rb', line 4 def initialize(item:) @item = item end |