Class: SolidusAdmin::StockLocations::Form::Component

Inherits:
BaseComponent
  • Object
show all
Includes:
Layout::PageHelpers
Defined in:
app/components/solidus_admin/stock_locations/form/component.rb

Instance Method Summary collapse

Constructor Details

#initialize(stock_location:, id:, url:) ⇒ Component

Returns a new instance of Component.



6
7
8
9
10
# File 'app/components/solidus_admin/stock_locations/form/component.rb', line 6

def initialize(stock_location:, id:, url:)
  @stock_location = stock_location
  @id = id
  @url = url
end