Class: AttachmentCardComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AttachmentCardComponent
- Defined in:
- lib/app/components/attachment_card_component.rb
Instance Method Summary collapse
-
#initialize(attachment:) ⇒ AttachmentCardComponent
constructor
A new instance of AttachmentCardComponent.
Constructor Details
#initialize(attachment:) ⇒ AttachmentCardComponent
Returns a new instance of AttachmentCardComponent.
6 7 8 |
# File 'lib/app/components/attachment_card_component.rb', line 6 def initialize(attachment:) @attachment = end |