Class: SolidusAdmin::StockLocations::Form::Component
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- SolidusAdmin::StockLocations::Form::Component
- Includes:
- Layout::PageHelpers
- Defined in:
- app/components/solidus_admin/stock_locations/form/component.rb
Instance Method Summary collapse
-
#initialize(stock_location:, id:, url:) ⇒ Component
constructor
A new instance of Component.
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 |