Class: ContentBlockTools::Components::Contacts::TelephoneComponent

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

Instance Method Summary collapse

Methods included from Govspeak

#render_govspeak

Methods inherited from BaseComponent

#render

Constructor Details

#initialize(item:) ⇒ TelephoneComponent

Returns a new instance of TelephoneComponent.



7
8
9
# File 'lib/content_block_tools/components/contacts/telephone_component.rb', line 7

def initialize(item:)
  @item = item
end