Sha256: 1661fe06007d161876cd9109144c65f041607dc284e6f3363ae134d329c750e2

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::RefundReasons::Edit::Component < SolidusAdmin::BaseComponent
  def initialize(page:, refund_reason:)
    @page = page
    @refund_reason = refund_reason
  end

  def form_id
    dom_id(@refund_reason, "#{stimulus_id}_edit_refund_reason_form")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/refund_reasons/edit/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/refund_reasons/edit/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/refund_reasons/edit/component.rb