Class: ContentBlockTools::Components::Contacts::ContactLinkComponent

Inherits:
BaseComponent
  • Object
show all
Includes:
Govspeak
Defined in:
lib/content_block_tools/components/contacts/contact_link_component.rb

Instance Method Summary collapse

Methods included from Govspeak

#render_govspeak

Methods inherited from BaseComponent

#render

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