Sha256: 9c120c054d538cfbdb88cbbed570759d8e4bd6faabe755be6d34a669237e01b4

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::Orders::Show::Email::Component < SolidusAdmin::BaseComponent
  def initialize(order:)
    @order = order
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/orders/show/email/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/orders/show/email/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/orders/show/email/component.rb