Sha256: c6b882d8364a7d2172fd4db9343e99d1405b46c6dab10794dd663816c9b46b7d

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

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

  def form_id
    dom_id(@refund_reason, "#{stimulus_id}_new_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/new/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/refund_reasons/new/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/refund_reasons/new/component.rb