Class: ContentBlockTools::Components::Contacts::AddressComponent

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

Instance Method Summary collapse

Methods included from Govspeak

#render_govspeak

Methods inherited from BaseComponent

#render

Constructor Details

#initialize(item:) ⇒ AddressComponent

Returns a new instance of AddressComponent.



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

def initialize(item:)
  @item = item
end