Class: SolidusAdmin::Orders::Show::Email::Component

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/solidus_admin/orders/show/email/component.rb

Instance Method Summary collapse

Constructor Details

#initialize(order:) ⇒ Component

Returns a new instance of Component.



4
5
6
# File 'app/components/solidus_admin/orders/show/email/component.rb', line 4

def initialize(order:)
  @order = order
end

Instance Method Details

#form_idObject



8
9
10
# File 'app/components/solidus_admin/orders/show/email/component.rb', line 8

def form_id
  dom_id(@order, "#{stimulus_id}_email_form")
end