Class: MinterState

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/minter_state.rb

Class Method Summary collapse

Class Method Details

.seed!(namespace:, template:) ⇒ MinterState

Creates an initial row for the namespace.

Returns:



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