Class: ContentBlockTools::Contacts::AddressComponent

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

Instance Method Summary collapse

Methods inherited from BaseComponent

#render

Methods included from OverrideClasses

#font_classes, #font_size_class, #font_weight_class, #margin_classes, #padding_classes

Methods included from Govspeak

#render_govspeak

Constructor Details

#initialize(item:) ⇒ AddressComponent

Returns a new instance of AddressComponent.



4
5
6
# File 'app/components/content_block_tools/contacts/address_component.rb', line 4

def initialize(item:)
  @item = item
end