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