Sha256: 366d6b67d465db87bb1af90eb1d7754a3b2c9d04691b6f7bb4106d4ee346f266

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

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

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