Class: ContentBlockTools::Components::Contacts::TelephoneComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- ContentBlockTools::Components::Contacts::TelephoneComponent
- Includes:
- Govspeak
- Defined in:
- lib/content_block_tools/components/contacts/telephone_component.rb
Instance Method Summary collapse
-
#initialize(item:) ⇒ TelephoneComponent
constructor
A new instance of TelephoneComponent.
Methods included from Govspeak
Methods inherited from BaseComponent
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 |