Class: ContentBlockTools::Contacts::EmailAddressComponent

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

Instance Method Summary collapse

Methods included from Govspeak

#render_govspeak

Methods inherited from BaseComponent

#render

Constructor Details

#initialize(item:) ⇒ EmailAddressComponent

Returns a new instance of EmailAddressComponent.



6
7
8
# File 'app/components/content_block_tools/contacts/email_address_component.rb', line 6

def initialize(item:)
  @item = item
end