Class: ContentBlockTools::Contacts::ContactLinkComponent

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

Instance Method Summary collapse

Methods inherited from BaseComponent

#render

Methods included from Govspeak

#render_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