Class: Avo::Fields::Common::StatusViewerComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/avo/fields/common/status_viewer_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(status:, label:) ⇒ StatusViewerComponent

Returns a new instance of StatusViewerComponent.



4
5
6
7
# File 'app/components/avo/fields/common/status_viewer_component.rb', line 4

def initialize(status:, label:)
  @status = status
  @label = label
end