Class: MinterState
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- MinterState
- Defined in:
- app/models/minter_state.rb
Class Method Summary collapse
-
.seed!(namespace:, template:) ⇒ MinterState
Creates an initial row for the namespace.
Class Method Details
.seed!(namespace:, template:) ⇒ MinterState
Creates an initial row for the namespace.
10 11 12 13 14 15 |
# File 'app/models/minter_state.rb', line 10 def self.seed!(namespace:, template:) create!( namespace: namespace, template: template ) end |